PureBasic - ImagePlugin
Overview
PureBasic supports external image formats through a dynamic native plugin system. This means that only the needed encoder or decoder is added to the final executable, decreasing the final program size a lot. For example, if you only need the JPEG decoder, only the code dealing with the JPEG decoder is used. Another nice feature is the automatic image format detection, if several decoders are used. The following commands support the image plugins: LoadImage(), CatchImage(), SaveImage(), LoadSprite() CatchSprite(), and SaveSprite().
Command Index
UseJPEGImageDecoder
UseJPEGImageEncoder
UsePNGImageDecoder
UsePNGImageEncoder
UseTGAImageDecoder
UseTIFFImageDecoder
Example
ImagePlugin.pb
Supported OS
Windows, Linux, MacOS X