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 functions support image plugins: LoadImage(), CatchImage(), SaveImage(), LoadSprite() CatchSprite(), and SaveSprite().

Command Index

UseJPEG2000ImageDecoder
UseJPEG2000ImageEncoder
UseJPEGImageDecoder
UseJPEGImageEncoder
UsePNGImageDecoder
UsePNGImageEncoder
UseTGAImageDecoder
UseTIFFImageDecoder

Example

ImagePlugin.pb

Supported OS

All

Reference Manual - Index