I'm doing somthing like that FlameDuck, if the image doesn't match very specific parameters then it's simply ignored.
The only problem with the source that JimB pointed out, is that the Jpg code in it doesn't seem to work.
The code identifies a jpg by the first two bytes, and assumes that the image dimensions will be found at a set offset from that position. This doesn't seem to be true, which fits with the info I've read about jpg headers.
There's a possibility that my code or my jpg files are wrong, but anyway. BMP is fine for my purposes and the code for BMP works on the files I've tested.
The only problem with the source that JimB pointed out, is that the Jpg code in it doesn't seem to work.
The code identifies a jpg by the first two bytes, and assumes that the image dimensions will be found at a set offset from that position. This doesn't seem to be true, which fits with the info I've read about jpg headers.
There's a possibility that my code or my jpg files are wrong, but anyway. BMP is fine for my purposes and the code for BMP works on the files I've tested.