#include <PdfImage.h>
Inheritance diagram for PoDoFo::PdfImage:
Public Member Functions | |
PdfImage (PdfVecObjects *pParent, const char *pszPrefix=NULL) | |
PdfImage (PdfDocument *pParent, const char *pszPrefix=NULL) | |
PdfImage (PdfObject *pObject) | |
void | SetImageColorSpace (EPdfColorSpace eColorSpace) |
void | SetImageICCProfile (PdfInputStream *pStream, long lColorComponents, EPdfColorSpace eAlternateColorSpace=ePdfColorSpace_DeviceRGB) |
void | SetImageSoftmask (const PdfImage *pSoftmask) |
double | GetWidth () const |
double | GetHeight () const |
void | SetImageData (unsigned int nWidth, unsigned int nHeight, unsigned int nBitsPerComponent, PdfInputStream *pStream) |
void | SetImageData (unsigned int nWidth, unsigned int nHeight, unsigned int nBitsPerComponent, PdfInputStream *pStream, const TVecFilters &vecFilters) |
void | LoadFromFile (const char *pszFilename) |
void | SetImageChromaKeyMask (pdf_int64 r, pdf_int64 g, pdf_int64 b, pdf_int64 threshold=0) |
void | SetInterpolate (bool bValue) |
Static Public Member Functions | |
const char ** | GetSupportedFormats () |
|
Constuct a new PdfImage object
|
|
Constuct a new PdfImage object This is an overloaded constructor.
|
|
Construct an image from an existing PdfObject
|
|
Get the height of the image when drawn in PDF units
|
|
Get a list of all image formats supported by this PoDoFo build. Example: { "JPEG", "TIFF", NULL }
|
|
Get the width of the image when drawn in PDF units
|
|
Load the image data from a file
|
|
Set an color/chroma-key mask on an image. The masked color will not be painted, i.e. masked as being transparent.
|
|
Set the color space of this image. The default value is ePdfColorSpace_DeviceRGB.
|
|
Set the actual image data from an input stream
|
|
Set the actual image data from an input stream The image data will be flate compressed. If you want no compression or another filter to be applied use the overload of SetImageData which takes a TVecFilters as argument.
|
|
Set an ICC profile for this image.
|
|
Set a softmask for this image.
|
|
Apply an interpolation to the image if the source resolution is lower than the resolution of the output device. Default is false.
|