Loading...
Searching...
No Matches
pdftron::PDF::Image2RGBA Class Reference

#include <Image2RGBA.h>

Inheritance diagram for pdftron::PDF::Image2RGBA:

Public Member Functions

 Image2RGBA (Element image_element, bool premultiply=false)
 Image2RGBA (SDF::Obj image_xobject, bool premultiply=false)
 Image2RGBA (Image &image, bool premultiply=false)
Public Member Functions inherited from pdftron::Filters::Filter
 Filter ()
 ~Filter ()
 Filter (const Filter &copy)
Filteroperator= (const Filter &other)
 operator bool ()
void AttachFilter (Filter attach_filter)
Filter ReleaseAttachedFilter ()
Filter GetAttachedFilter ()
Filter GetSourceFilter ()
const char * GetName () const
const char * GetDecodeName () const
UCharBegin ()
size_t Size ()
void Consume (size_t num_bytes)
size_t Count ()
size_t SetCount (size_t new_count)
void SetStreamLength (size_t bytes)
void Flush ()
void FlushAll ()
bool IsInputFilter ()
bool CanSeek ()
void Seek (ptrdiff_t offset, ReferencePos origin)
ptrdiff_t Tell ()
size_t Truncate (size_t new_size)
Filter CreateInputIterator ()
const UString GetFilePath () const
void Destroy ()
void WriteToFile (const UString &path, bool append)

Additional Inherited Members

Public Types inherited from pdftron::Filters::Filter
enum  ReferencePos { e_begin = SEEK_SET , e_end = SEEK_END , e_cur = SEEK_CUR }

Detailed Description

Image2RGBA is a filter that can decompress and normalize any PDF image stream (e.g. monochrome, CMYK, etc) into a raw RGBA pixel stream.

Definition at line 20 of file Image2RGBA.h.

Constructor & Destructor Documentation

◆ Image2RGBA() [1/3]

pdftron::PDF::Image2RGBA::Image2RGBA ( Element image_element,
bool premultiply = false )

◆ Image2RGBA() [2/3]

pdftron::PDF::Image2RGBA::Image2RGBA ( SDF::Obj image_xobject,
bool premultiply = false )

◆ Image2RGBA() [3/3]

pdftron::PDF::Image2RGBA::Image2RGBA ( Image & image,
bool premultiply = false )

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