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
http://bugs.winehq.org/show_bug.cgi?id=11778
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|bugzilla-unknown |gdiplus Product|WineHQ Bugzilla |Wine
--- Comment #1 from Lei Zhang thestig@google.com 2008-02-29 09:04:46 --- Not a bugzilla bug.
http://bugs.winehq.org/show_bug.cgi?id=11778
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #2 from Dan Kegel dank@kegel.com 2008-03-06 01:54:13 --- Nathan sent in a proposed fix, http://winehq.org/pipermail/wine-patches/2008-March/051128.html
http://bugs.winehq.org/show_bug.cgi?id=11778
--- Comment #3 from Lei Zhang thestig@google.com 2008-03-06 12:38:58 --- Patch committed:
http://www.winehq.org/pipermail/wine-cvs/2008-March/041075.html
Bill, can you verify it's fixed in wine-git / wine 0.9.57 (when it's released) and close the bug?
http://bugs.winehq.org/show_bug.cgi?id=11778
bill lam cbill.lam@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #4 from bill lam cbill.lam@gmail.com 2008-03-07 00:36:20 --- fixed now. thanks!
http://bugs.winehq.org/show_bug.cgi?id=11778
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2008-03-07 11:28:46 --- Closing bugs fixed in 0.9.57.