5 #ifndef PDFTRON_H_CPPPDFImage
6 #define PDFTRON_H_CPPPDFImage
9 #include <C/PDF/TRN_Image.h>
116 const unsigned char* buf,
143 const unsigned char* buf,
535 Image(TRN_Image impl);
543 #include <Impl/Image.inl>
548 #endif // PDFTRON_H_CPPPDFImage
void SetMask(Image &image_mask)
void SetSoftMask(Image &soft_mask)
int GetImageWidth() const
Filters::Filter GetImageData() const
Gdiplus::Bitmap * GetBitmap() const
int Export(const UString &filename)
Image & operator=(const Image &)
int GetImageDataSize() const
int GetComponentNum() const
Image(SDF::Obj image_xobject=0)
SDF::Obj GetSDFObj() const
ColorSpace GetImageColorSpace() const
SDF::Obj GetDecodeArray() const
int GetImageHeight() const
void ExportAsPng(const UString &filename)
static Image CreateSoftMask(SDF::SDFDoc &doc, const char *buf, size_t buf_size, int width, int height, int bpc, SDF::Obj encoder_hints=0)
void ExportAsTiff(const UString &filename)
static Image Create(SDF::SDFDoc &doc, const UString &filename, SDF::Obj encoder_hints=0)
GState::RenderingIntent GetImageRenderingIntent() const
int GetBitsPerComponent() const
bool IsImageInterpolate() const
static Image CreateImageMask(SDF::SDFDoc &doc, const char *buf, size_t buf_size, int width, int height, SDF::Obj encoder_hints=0)