Gin
Public Member Functions | List of all members
BMPImageFormat Class Reference

Support for reading and writing Windows Bitmap files. More...

Inherits juce::ImageFileFormat.

Public Member Functions

juce::String getFormatName () override
 
bool canUnderstand (juce::InputStream &input) override
 
bool usesFileExtension (const juce::File &possibleFile) override
 
juce::Image decodeImage (juce::InputStream &input) override
 
bool writeImageToStream (const juce::Image &sourceImage, juce::OutputStream &destStream) override
 

Detailed Description

Support for reading and writing Windows Bitmap files.

Supports uncompressed 8, 24 and 32 bit images. Always writes 32 bit images. That should be enough to cover 99.9% of BMP files. Does not support 1, 4, 16 bit colour images or images with RLE compression.

Member Function Documentation

◆ getFormatName()

juce::String BMPImageFormat::getFormatName ( )
override

◆ canUnderstand()

bool BMPImageFormat::canUnderstand ( juce::InputStream &  input)
override

◆ usesFileExtension()

bool BMPImageFormat::usesFileExtension ( const juce::File &  possibleFile)
override

◆ decodeImage()

juce::Image BMPImageFormat::decodeImage ( juce::InputStream &  input)
override

◆ writeImageToStream()

bool BMPImageFormat::writeImageToStream ( const juce::Image &  sourceImage,
juce::OutputStream &  destStream 
)
override

The documentation for this class was generated from the following file: