PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.images Package / PDFPngImage Class
Fields Methods Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFPngImage Class Members
In This Topic

The following tables list the members exposed by PDFPngImage.

Public Constructors

| Name | Description
--- | --- | ---
| PDFPngImage Constructor | Overloaded.

Top
Protected Fields

| Name | Description
--- | --- | ---
| colorSpace | (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| cosImage | (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)

Top
Public Methods

| Name | Description
--- | --- | ---
| applyFilter | Applies the specified PDF compression filter to image data. The image data is already compressed so calling this method will compress it again and this might cause an increase in final size. This method can be called multiple times to chain multiple PDF filters. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| getAlternateImages | Gets the alternate images. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| getBitsPerComponent | Gets the bits per component. Valid values are 1, 2, 4, 8, and (in PDF 1.5) 16. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| getColorSpace | Gets the color space. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| getCosImage | Gets the COS image. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| getHeight | Gets the image height. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| getInterpolate | Gets a value indicating whether image interpolation is to be performed. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| getLogicalHeight | Gets the logical image height. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| getLogicalWidth | Gets the logical image width. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| getMask | Gets the image mask. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| getMeasure | Gets the image measure. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| getOrientation | Gets the image orientation. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| getPointData | Gets the point data. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| getStructureElement | Gets the structure element that represents this image. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| getWidth | Gets the image width. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| isPng | Checks if the given stream contains a PNG image.
| load | Loads an image from the given stream. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| setAlternateImages | Sets the alternate images. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| setBitsPerComponent | Sets the bits per component. Valid values are 1, 2, 4, 8, and (in PDF 1.5) 16. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| setColorSpace | Sets the color space. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| setInterpolate | Sets a value indicating whether image interpolation is to be performed. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| setMask | Sets the image mask. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| setMeasure | Sets the image measure. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| setOrientation | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| setPointData | Sets the point data. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)
| setStructureElement | Sets the structure element that represents this image. (Inherited from com.o2sol.pdf4java.graphics.images.PDFImage)

Top
See Also

#### Reference

PDFPngImage Class
com.o2sol.pdf4java.graphics.images Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.