|
From: Michael K. <mi...@mu...> - 2005-03-09 07:27:56
|
Well I'm feeling too impatient for the clt announcement to show up so I can copy and paste and too lazy to write a full announcement again, but... Aqua and Tile users especially will probably be interested in TkPNG - an extension that adds PNG photo image support to Tcl/Tk, with full range of bit depths and color types (including alpha support). This is not based on libpng, but is a lightweight decoder implementation written specifically for Tk. The only dependency, other than Tcl/Tk its self, is on zlib. http://mini.net/tcl/13760 However, be aware that there's a Tk Aqua bug that will cause it to crash if you use images with alpha channels in bevel buttons (labels and non-bevel buttons should be okay). It's not TkPNG's fault - it's the same with Img. Tile doesn't crash if you use alpha images in its buttons, but due to a -different- Tk Aqua bug images (with or without alpha) turn to white rectangles in disabled widgets. Both of those are open bugs in the Tk tracker, but I just thought I should mention it in case someone tried an image with alpha in a bevel button for the first time and thought the crash was my fault. ;) -- Michael Kirkham www.muonics.com |