OpenEnroth 461a523
Loading...
Searching...
No Matches
Functions
pcx Namespace Reference

Functions

RgbaImage decode (const Blob &data)
 
Blob encode (RgbaImageView image)
 
bool detect (const Blob &data)
 

Function Documentation

◆ decode()

RgbaImage pcx::decode ( const Blob data)

Decodes a PCX image from a Blob.

Parameters
dataCompressed PCX image to decode.
Returns
Decoded RgbaImage.
Exceptions
ExceptionOn error.

◆ detect()

bool pcx::detect ( const Blob data)
Parameters
dataCompressed PCX image data.
Returns
Whether the data signature matches the PCX format.

◆ encode()

Blob pcx::encode ( RgbaImageView  image)