http://bugs.winehq.org/show_bug.cgi?id=23708
Summary: winemenubuilder:SaveIconResAsPNG unsupported bpp 21060, please report Product: Wine Version: 1.2 Platform: x86 URL: http://download.logbookpro.com/lbproNoMSI.exe OS/Version: Linux Status: NEW Keywords: download, Installer Severity: trivial Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
fixme:menubuilder:SaveIconResAsPNG unsupported bpp 21060, please report fixme:menubuilder:SaveIconResAsPNG unsupported bpp 21060, please report fixme:menubuilder:SaveIconResAsXPM Unsupported color depth 21060-bit fixme:menubuilder:SaveIconResAsXPM Unsupported color depth 21060-bit
http://bugs.winehq.org/show_bug.cgi?id=23708
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |integration CC| |damjan.jov@gmail.com Component|programs |windowscodecs
--- Comment #1 from Damjan Jovanovic damjan.jov@gmail.com 2010-08-26 00:33:12 --- According to http://read.pudn.com/downloads80/sourcecode/others/306578/listview/32bpp%20D...
a biBitCount of 21060 is a hint that the ICO file uses PNG compression.
Setting category to windowscodecs.
foobar2000 has the same problem (http://www.foobar2000.org/files/dc91d00d887f9171af49d85ae5693b79/foobar2000_...).
http://bugs.winehq.org/show_bug.cgi?id=23708
--- Comment #2 from Vincent Povirk madewokherd@gmail.com 2010-08-26 00:58:25 --- Can someone attach the icon?
http://bugs.winehq.org/show_bug.cgi?id=23708
--- Comment #3 from Damjan Jovanovic damjan.jov@gmail.com 2010-08-26 02:21:23 --- Created an attachment (id=30401) --> (http://bugs.winehq.org/attachment.cgi?id=30401) foobar2000 icon
This is the icon extracted from foobar2000 (www.foobar2000.org) using Resource Hacker (http://www.angusj.com/resourcehacker/), "Icon Group" 105, subkey 1033. One of the icons in it is 0x0 (ie. 256x256) in size, and I think it's PNG encoded.
http://bugs.winehq.org/show_bug.cgi?id=23708
--- Comment #4 from Damjan Jovanovic damjan.jov@gmail.com 2010-08-26 14:52:20 --- Created an attachment (id=30415) --> (http://bugs.winehq.org/attachment.cgi?id=30415) Read the embedded PNG
This patch should read the embedded PNG. But it doesn't work (+wincodecs gives warn:wincodecs:user_error_fn PNG error: "Not a PNG file").
There could be several problems: 1. The embedded file is not a PNG. 2. The embedded PNG is corrupt. 3. winemenubuilder doesn't correctly convert module resource icons to an IStream. 4. windowscodecs doesn't parse PNGs correctly.
Testing extraction from the icon instead of the executable gives the same problem, disproving case 3.
Testing an equivalent patch to Sanselan (http://commons.apache.org/sanselan/) correctly extracts a beautiful PNG, disproving options 1 and 2.
So that leaves: 4. windowscodecs doesn't parse PNGs correctly. OR 5. the PNG is subtly broken, Sanselan's custom PNG parser gets through it, but libpng chokes.
Any ideas Vincent?
http://bugs.winehq.org/show_bug.cgi?id=23708
--- Comment #5 from Vincent Povirk madewokherd@gmail.com 2010-08-26 14:56:13 --- Um, I'm pretty sure you'll need to create a new stream containing just the PNG data. This would ideally be accomplished using IWICStream::InitializeFromIStreamRegion, but that's not implemented yet.
http://bugs.winehq.org/show_bug.cgi?id=23708
--- Comment #6 from Vincent Povirk madewokherd@gmail.com 2010-08-26 15:01:19 --- Ah, I see what you're trying to do. But seeking before you call Initialize won't work. You really need the start of the stream to be the start of the PNG.
http://bugs.winehq.org/show_bug.cgi?id=23708
--- Comment #7 from Damjan Jovanovic damjan.jov@gmail.com 2010-08-27 00:35:46 --- That worked (http://source.winehq.org/patches/data/65494), thank you.
http://bugs.winehq.org/show_bug.cgi?id=23708
--- Comment #8 from Vincent Povirk madewokherd@gmail.com 2011-01-10 15:55:20 CST --- I think this is working. Can we close this bug?
http://bugs.winehq.org/show_bug.cgi?id=23708
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Austin English austinenglish@gmail.com 2011-01-10 16:09:19 CST --- Works for the original app in wine-1.3.11-68-g6b8812a.
http://bugs.winehq.org/show_bug.cgi?id=23708
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2011-01-21 13:43:09 CST --- Closing bugs fixed in 1.3.12.
https://bugs.winehq.org/show_bug.cgi?id=23708
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |666940902db2c69334d8c56f068 | |696e88b0f1dea CC| |focht@gmx.net