bill lam wrote:
If the user beware this possibility and write a more secure code, GdipBitmapLockBits from wine's gdiplus will work.
However this is another bug in wine gdiplus in that value return from GdipGetImageWidth ( and GdipGetImageHeight ?) will often be 1 pixel less than actual value, eg a jpeg of size 800x600 will be reported as 799x600. The larger the picture size, the more often it goes wrong.
This is a bug and should be reported. If this happens for any jpeg file then an attached file is unnecessary, but if you provide one that is 'more better' and will help.
James McKenzie