PNG Utilities is an open source plugin for REALbasic that allows developers to easily load and save PNG format images with or without transparency information. Methods are also provided to deal with strings of binary PNG data, which is ideal when storing or retrieving images from databases, virtual volumes, or custom packages such as zip archives. PNG Utilities is compatible with Mac OS Classic/Carbon, Mac OS X PowerPC, Mac OS X Intel, Windows, and Linux targets.
What's new in this version:
- Mac OS X: i386 support (Intel/Universal Binary targets).
- All: Added a Picture class extension Picture.HasMask As Boolean
- Mac: SavePicture no longer mangles Unicode characters or truncates long file names on HFS+ volumes.
- Mac OS X: No longer uses file manager routines marked deprecated in Mac OS X 10.4.
- Win32: SavePicture and GetData no longer crash when given pictures with depths other than 32 bit.
- Linux: OpenAsPicture and GetPicture no longer leak a Picture and/or Graphics object under certain conditions.
- Linux: SavePicture and GetData no longer apply alpha channels destructively to the RGB pixels when the Picture contains a Mask.
- Linux: SavePicture properly handles paths that contain Unicode characters.
- All: SavePicture and GetData fail gracefully rather than crash if you pass an invalid Picture object (e.g. a Picture with zero/negative dimensions or null data storage).
- All: GetPicture methods no longer work on a copy of the PNG data (use less memory).
- Mac OS X: SavePicture and GetData use Quartz 2D on Mac OS X 10.2 and later rather than Quickdraw.
- All: Passing a gamma value of -1 to SavePicture or GetData now omits the PNG gAMA chunk entirely rather than embedding the default system gamma.
- All: Omitting the gamma parameter in the OpenAsPicture or GetPicture methods will now apply the native system gamma if no embedded gamma value is found.
- All: Updated libpng to version 1.2.12.
- Linux: No longer complains it can't find libpng3 when only libpng12 is installed (will now use the most recent version available).
- Mac OS X: Mach-O segments have significantly reduced in size. Follow the link and
free download PNG Utilities Plugin now.
DETAILS