TkPNG implements PNG photo image support for Tcl/Tk (8.3+) without depending on libpng (only zlib). It supports the full range of color types and bit depths from 1 bit-per-pixel B&W to 16 bit-per-channel RGBA, including interlaced images and importing from base64 encoded data.
| Tags | multimedia Graphics Software Development Libraries Tcl Extensions |
|---|---|
| Licenses | BSD Revised |
| Operating Systems | OS Independent |
| Implementation | Tcl C |
Recent releases


Changes: This version includes updated TEA support files to fix configure errors under Linux, 64-bit compatibility, the ability to write PNG images (rather than just read), and an option to apply a global alpha value to an image as it is read, for example, to use one image file for both an enabled and disabled (semi-transparent) icon. Some of these changes were made in 0.8, which was available from CVS but never released.


Changes: Support was added for modifying the overall image transparency upon creation with e.g. 'image create photo -format "png -alpha 0.5" -file example.png'.


Changes: Some optimizations from the first public release were made. Support for decoding base64 image data was added.