[Bug 11778] New: gdiplus: incorrect image size

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 29 08:51:53 CST 2008


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 at winehq.org
        ReportedBy: cbill.lam at 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


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list