http://bugs.winehq.org/show_bug.cgi?id=11778
Summary: gdiplus: incorrect image size Product: WineHQ Bugzilla Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: minor Priority: P2 Component: bugzilla-unknown AssignedTo: wine-bugs@winehq.org ReportedBy: cbill.lam@gmail.com
Created an attachment (id=11035) --> (http://bugs.winehq.org/attachment.cgi?id=11035) sample 1280x1024 jpeg
The image size reported by GdipGetImageWidth/GdipGetImageHeight for a bitmap created by GdipCreateBitmapFromFile is incorrect for some pictures.
NB. sample output with native gdiplus GdipGetImageWidth GdipGetImageHeight 1280 1024 width height stride format scan0 res 1280 1024 5120 2498570 23920640 1
NB. sample output with built-in gdiplus NB. pixel size and negative stride and 4*width != abs(stride) GdipGetImageWidth GdipGetImageHeight 1279 1023 width height stride format scan0 res 1279 1023 _5120 2498570 168815656 1