Gin
Public Member Functions | Public Attributes | List of all members
WEBPImageFormat Class Reference

Support for reading and writing Webp. 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
 

Public Attributes

float quality = 80.0f
 
bool loseless = false
 

Detailed Description

Support for reading and writing Webp.

Member Function Documentation

◆ getFormatName()

juce::String WEBPImageFormat::getFormatName ( )
override

◆ canUnderstand()

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

◆ usesFileExtension()

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

◆ decodeImage()

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

◆ writeImageToStream()

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

Member Data Documentation

◆ quality

float WEBPImageFormat::quality = 80.0f

◆ loseless

bool WEBPImageFormat::loseless = false

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