DynamicPDF by ceTe Software

com.cete.dynamicpdf.merger
Class ImageInformation

java.lang.Object
  extended by com.cete.dynamicpdf.merger.ImageInformation

public class ImageInformation
extends java.lang.Object

Represents image's information of an image in the document.

Licensing:
This class is a DynamicPDF Merger Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:

View Example


Method Summary
 int getBitsPerComponent()
          Gets the Bits Per Component number for a pixel of the image.
 int getHeight()
          Gets height of the image.
 ExtractedImageData getImage()
          Returns the ExtractedImageType object for the image extracted.
 void getImage(java.lang.String filePath)
          Outputs the image of type jpg or png at the given file path.
 PixelFormat getPixelFormat()
          Gets the PixelFormat of the image, As PixelFormat object.
 int getWidth()
          Gets width of the image.
 boolean hasTransperency()
          Gets the boolean representing alpha channels presence in the image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWidth

public int getWidth()
Gets width of the image.

Returns:
the width of the image.

getHeight

public int getHeight()
Gets height of the image.

Returns:
the height of the image.

hasTransperency

public boolean hasTransperency()
Gets the boolean representing alpha channels presence in the image.

Returns:
boolean representing alpha channels presence in the image.

getPixelFormat

public PixelFormat getPixelFormat()
Gets the PixelFormat of the image, As PixelFormat object.

Returns:
PixelFormat of the image, As PixelFormat object.

getBitsPerComponent

public int getBitsPerComponent()
Gets the Bits Per Component number for a pixel of the image.

Returns:
integer representing Bits Per Component number for a pixel of the image.

getImage

public ExtractedImageData getImage()
Returns the ExtractedImageType object for the image extracted.


getImage

public void getImage(java.lang.String filePath)
Outputs the image of type jpg or png at the given file path.

Parameters:
filePath - the String representing the file path to store the image.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v11.02 for Java generated on Sep 02, 2021
© Copyright 2021, ceTe Software