I agree with the comment by Mitch that it's a requirements description, because I don't think it's a known issue and I also never saw it before. You're probably going to have to find a way to detect those images yourself.
(It's not like red eyes in a picture, that you could just pick up a tool and fix it right away).
You can start with creating a Bitmap
object with Bitmap(String)
constructor, which accepts the path to the file.
You can read the pixels using Bitmap.GetPixel(Int32, Int32)
to detect those images (you're going to have to come up with an algorithm of some sort to do that though. Perhaps read the bottom rows and see if it consists only the two colors that are in your image (that brown and yellow) EDIT: I've just viewed the image with zoom, and it probably won't work as simple as that because the image has anti-aliasing. But you can check if most of the pixels are in those colors, that should work).
Side note:
Now, if you want to actually edit them (if you have the rest of the image in a different file, for example) you can create a Graphics
object using the static method Graphics.FromImage(Image)
.
Warning: Graphics
Objects are disposable. Don't forget to dispose them after you're saving the file or just done modifying the graphics.