[ wxwindows-Bugs-1816085 ] png under windows 98/2000 turn black

SourceForge.net noreply at sourceforge.net
Fri Dec 7 00:49:57 PST 2007


Bugs item #1816085, was opened at 2007-10-18 21:15
Message generated for change (Comment added) made by g00fy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1816085&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMSW specific
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: maxinuruguay (maxinuruguay)
Assigned to: Nobody/Anonymous (nobody)
Summary: png under windows 98/2000 turn black

Initial Comment:
Png shown by wxStaticBitmap will have the transparent parts turn black if any pixel in the png has an alpha value that is not 0 or 255.  If all the pixels have 0 or 255, the transparency works fine. The workaround is to go into photoshop an insure that all the png files are free of pixels that have in between alpha values. 

----------------------------------------------------------------------

Comment By: Steven Van Ingelgem (g00fy)
Date: 2007-12-07 09:49

Message:
Logged In: YES 
user_id=569271
Originator: NO

I fixed this bug:
https://sourceforge.net/tracker/index.php?func=detail&aid=1761598&group_id=9863&atid=309863

----------------------------------------------------------------------

Comment By: deste (andreadestefani)
Date: 2007-12-07 09:46

Message:
Logged In: YES 
user_id=1919278
Originator: NO

Thanks to maxinuruguay for submit this bug.

I want only to "update" this track and confirm what maxinuruguay have
already said. The problem with PNG alpha is present in win98/2000, not in
XP/Vista (don't know about MacOS and linux); the problem is present only
when use wxStaticBitmap (PNGs loaded in wxToolBar, or in wxMenu by
Menuitem->SetBitmap, or in wxListCtrl, works fine!).

Thanks to all wxDevs.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1816085&group_id=9863




More information about the wx-dev mailing list