https://bugs.winehq.org/show_bug.cgi?id=38623
Bug ID: 38623 Summary: Bogus values in GDI+: Image:GetPropertySize Product: Wine Version: 1.6.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mathieu.malaterre@gmail.com Distribution: ---
Created attachment 51529 --> https://bugs.winehq.org/attachment.cgi?id=51529 source code
One cannot compile and run the following example on wine 1.6.2:
https://msdn.microsoft.com/en-us/library/ms535372(v=vs.85).aspx
See attached code. To reduce file size, I've reused the PNG image from bug id 38622. Download it from:
https://bugs.winehq.org/attachment.cgi?id=51528
https://bugs.winehq.org/show_bug.cgi?id=38623
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru --- Please retest with recent (preferably latest git) version of Wine.
https://bugs.winehq.org/show_bug.cgi?id=38623
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=38623
--- Comment #2 from Mathieu Malaterre mathieu.malaterre@gmail.com --- Same exact behavior using wine 1.7.43
https://bugs.winehq.org/show_bug.cgi?id=38623
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |windowscodecs Summary|Bogus values in GDI+: |gdiplus: |Image:GetPropertySize |Image:GetPropertySize | |returns bogus values for a | |PNG image
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru --- Probably a WIC related problem.
https://bugs.winehq.org/show_bug.cgi?id=38623
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- With current Wine this returns 24 for size, 1 for property count, with id 301. Please retest.
https://bugs.winehq.org/show_bug.cgi?id=38623
Mathieu Malaterre mathieu.malaterre@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Mathieu Malaterre mathieu.malaterre@gmail.com --- Perfect thanks !
https://bugs.winehq.org/show_bug.cgi?id=38623
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.5.