Class Image2RGBA
Image2RGBA is a filter that can decompress and normalize any PDF image stream (e.g. monochrome, CMYK, etc) into a raw RGBA pixel stream.
Implements
Inherited Members
Namespace: pdftron.PDF
Assembly: PDFTronDotNet.dll
Syntax
public class Image2RGBA : Filter, IDisposable
Constructors
Image2RGBA(Element, bool)
Instantiates a new image2 rgba.
Declaration
public Image2RGBA(Element image_element, bool premultiply)
Parameters
Type | Name | Description |
---|---|---|
Element | image_element | the image_element |
bool | premultiply |
Exceptions
Type | Condition |
---|---|
PDFNetException | PDFNetException the PDFNet exception |
Image2RGBA(Image, bool)
Instantiates a new image2 rgba.
Declaration
public Image2RGBA(Image image, bool premultiply)
Parameters
Type | Name | Description |
---|---|---|
Image | image | the image |
bool | premultiply |
Exceptions
Type | Condition |
---|---|
PDFNetException | PDFNetException the PDFNet exception |
Image2RGBA(Obj, bool)
Instantiates a new image2 rgba.
Declaration
public Image2RGBA(Obj image_xobject, bool premultiply)
Parameters
Type | Name | Description |
---|---|---|
Obj | image_xobject | the image_xobject |
bool | premultiply |
Exceptions
Type | Condition |
---|---|
PDFNetException | PDFNetException the PDFNet exception |