LibreOffice Module vcl (master) 1
|
#include <vcl/graph.hxx>
#include <vcl/graphicfilter.hxx>
#include <bitmap/BitmapWriteAccess.hxx>
#include <com/sun/star/uno/Sequence.h>
Go to the source code of this file.
Functions | |
VCL_DLLPUBLIC bool | ImportJPEG (SvStream &rInputStream, Graphic &rGraphic, GraphicFilterImportFlags nImportFlags, BitmapScopedWriteAccess *ppAccess) |
bool | ExportJPEG (SvStream &rOutputStream, const Graphic &rGraphic, const css::uno::Sequence< css::beans::PropertyValue > *pFilterData, bool *pExportWasGrey) |
bool ExportJPEG | ( | SvStream & | rOutputStream, |
const Graphic & | rGraphic, | ||
const css::uno::Sequence< css::beans::PropertyValue > * | pFilterData, | ||
bool * | pExportWasGrey | ||
) |
Definition at line 53 of file jpeg.cxx.
References JPEGWriter::Write().
Referenced by GraphicFilter::ExportGraphic().
VCL_DLLPUBLIC bool ImportJPEG | ( | SvStream & | rInputStream, |
Graphic & | rGraphic, | ||
GraphicFilterImportFlags | nImportFlags, | ||
BitmapScopedWriteAccess * | ppAccess | ||
) |
Definition at line 26 of file jpeg.cxx.
References Graphic::GetReaderContext(), JPEGREAD_ERROR, JPEGREAD_NEED_MORE, JPEGReader::Read(), rInputStream, and Graphic::SetReaderContext().
Referenced by GraphicFilter::ImportGraphics(), and GraphicFilter::readJPEG().