java.lang.Object | ||
↳ | com.pdftron.filters.Filter | |
↳ | com.pdftron.pdf.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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Image2RGBA(Element image_element)
Instantiates a new Image2RGBA with specified element
| |||||||||||
Image2RGBA(Obj image_xobject)
Instantiates a new Image2RGBA with specifed image Obj
| |||||||||||
Image2RGBA(Image image)
Instantiates a new Image2RGBA with specified image
| |||||||||||
Image2RGBA(Element image_element, boolean premultiply)
Instantiates a new Image2RGBA.
| |||||||||||
Image2RGBA(Obj image_xobject, boolean premultiply)
Instantiates a new Image2RGBA.
| |||||||||||
Image2RGBA(Image image, boolean premultiply)
Instantiates a new Image2RGBA.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
close()
Frees the native memory of the object.
| ||||||||||
void |
destroy()
Frees the native memory of the object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.filters.Filter
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.pdftron.pdf.__Delete
| |||||||||||
From interface
java.lang.AutoCloseable
|
Instantiates a new Image2RGBA with specified element
image_element | the input image element |
---|
PDFNetException |
---|
Instantiates a new Image2RGBA with specifed image Obj
image_xobject | the input image Obj |
---|
PDFNetException |
---|
Instantiates a new Image2RGBA with specified image
image | the input image |
---|
PDFNetException |
---|
Instantiates a new Image2RGBA.
image_element | the input image element |
---|---|
premultiply | whether to premultiply |
PDFNetException |
---|
Instantiates a new Image2RGBA.
image_xobject | the input image xobject |
---|---|
premultiply | whether to premultiply |
PDFNetException |
---|
Instantiates a new Image2RGBA.
image | the input image |
---|---|
premultiply | whether to premultiply |
PDFNetException |
---|
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|
Frees the native memory of the object. This can be explicity called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|