LibreOffice Module vcl (master) 1
WebpReader.hxx File Reference
#include <vcl/graph.hxx>
Include dependency graph for WebpReader.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


VCL_DLLPUBLIC bool ImportWebpGraphic (SvStream &rStream, Graphic &rGraphic)
bool ReadWebpInfo (SvStream &rStream, Size &pixelSize, sal_uInt16 &bitsPerPixel, bool &hasAlpha)

Function Documentation

◆ ImportWebpGraphic()

VCL_DLLPUBLIC bool ImportWebpGraphic ( SvStream rStream,
Graphic rGraphic 

Definition at line 298 of file reader.cxx.

References readWebp(), SvStream::SetError(), and SVSTREAM_FILEFORMAT_ERROR.

Referenced by GraphicFilter::readWEBP().

◆ ReadWebpInfo()

bool ReadWebpInfo ( SvStream rStream,
Size pixelSize,
sal_uInt16 &  bitsPerPixel,
bool &  hasAlpha 

Definition at line 306 of file reader.cxx.

References readWebpInfo(), and stream.

Referenced by vcl::GraphicFormatDetector::checkWEBP().