dlib.image.io.bmp

Decode and encode BMP images

Members

Classes

BMPLoadException
class BMPLoadException
Undocumented in source.

Enums

BMPCompressionType
enum BMPCompressionType
Undocumented in source.
BMPInfoSize
enum BMPInfoSize
Undocumented in source.
BMPOSType
enum BMPOSType
Undocumented in source.
RLE
enum RLE
Undocumented in source.

Functions

loadBMP
SuperImage loadBMP(string filename)

Load BMP from file using local FileSystem. Causes GC allocation

loadBMP
SuperImage loadBMP(InputStream istrm)

Load BMP from stream using default image factory. Causes GC allocation

loadBMP
Compound!(SuperImage, string) loadBMP(InputStream istrm, SuperImageFactory imgFac)

Load BMP from stream using specified image factory. GC-free

saveBMP
void saveBMP(SuperImage img, string filename)

Save BMP to file using local FileSystem. Causes GC allocation

saveBMP
Compound!(bool, string) saveBMP(SuperImage img, OutputStream output)

Save BMP to stream. GC-free

Static variables

BMPMagic
ubyte[2] BMPMagic;
Undocumented in source.

Structs

BMPCoreHeader
struct BMPCoreHeader
Undocumented in source.
BMPCoreInfo
struct BMPCoreInfo
Undocumented in source.
BMPFileHeader
struct BMPFileHeader
Undocumented in source.
BMPInfoHeader
struct BMPInfoHeader
Undocumented in source.

Meta

Authors

Timur Gafarov, Roman Chistokhodov