Functions |
|
RwImage * | RtPNGImageWrite (RwImage *image, const RwChar *imageName) |
RwImage * | RtPNGImageRead (const RwChar *imageName) |
See also http://www.libpng.org/pub/png/
The PNG format supports both palettized (8-bit) images as well as RGBA image formats. As a result, it can be used instead of either the GIF and JPEG image formats for most purposes.
Unlike the GIF-89a format, the PNG file format does not support animation.
The RtPNG toolkit provides reading and writing functions for the Portable Network Graphics (PNG) image format.
|
RtPNGImageRead is used to read a Portable Network Graphics format file from disk. It reads a PNG file using libpng of http://www.libpng.org/pub/png and return as an RwImage. The file name can either be absolute or relative to the directory the application is running from. The image search path is not used to find image files and no gamma correction is applied to the image as it is read. Note that the include file rtpng.h is required and must be included by an application wishing to load PNG format files. The PNG library is contained in the file rtpng.lib.
|
|
RtPNGImageWrite writes a PNG file, using libpng of http://www.libpng.org/pub/png
|
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |