Package com.dynamicpdf.api
Class ImageInformation
java.lang.Object
com.dynamicpdf.api.ImageInformation
Represents an image information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
Gets the bits per component of the image.Gets the clor space of the image.float
Gets the height of the image.float
Gets the horizondalDpi of the image.float
Gets the number of color components present in the image.int
Gets page number of the pdf where the image is present.float
Gets the verticalDpi of the image.float
getWidth()
Gets the width of the image.void
setBitsPerComponent(float value)
Sets the bits per component of the image.void
setColorSpace(ColorSpaceType value)
Sets the clor space of the image.void
setHeight(float value)
Sets the height of the image.void
setHorizondalDpi(float value)
Sets the horizondalDpi of the image.void
setNumberOfComponents(float value)
Sets the number of color components present in the image.void
setPageNumber(int value)
Sets page number of the pdf where the image is present.void
setVerticalDpi(float value)
Sets the verticalDpi of the image.void
setWidth(float value)
Sets the width of the image.
-
Constructor Details
-
ImageInformation
public ImageInformation()
-
-
Method Details
-
getPageNumber
public int getPageNumber()Gets page number of the pdf where the image is present.- Returns:
- Page number of the pdf where the image is present.
-
setPageNumber
public void setPageNumber(int value)Sets page number of the pdf where the image is present.- Parameters:
value
- Page number of the pdf where the image is present.
-
getWidth
public float getWidth()Gets the width of the image.- Returns:
- The width of the image.
-
setWidth
public void setWidth(float value)Sets the width of the image.- Parameters:
value
- The width of the image.
-
getHeight
public float getHeight()Gets the height of the image.- Returns:
- The height of the image.
-
setHeight
public void setHeight(float value)Sets the height of the image.- Parameters:
value
- The height of the image.
-
getHorizondalDpi
public float getHorizondalDpi()Gets the horizondalDpi of the image.- Returns:
- The horizondalDpi of the image.
-
setHorizondalDpi
public void setHorizondalDpi(float value)Sets the horizondalDpi of the image.- Parameters:
value
- The horizondalDpi of the image.
-
getVerticalDpi
public float getVerticalDpi()Gets the verticalDpi of the image.- Returns:
- The verticalDpi of the image.
-
setVerticalDpi
public void setVerticalDpi(float value)Sets the verticalDpi of the image.- Parameters:
value
- The verticalDpi of the image.
-
getNumberOfComponents
public float getNumberOfComponents()Gets the number of color components present in the image.- Returns:
- The number of color components present in the image.
-
setNumberOfComponents
public void setNumberOfComponents(float value)Sets the number of color components present in the image.- Parameters:
value
- The number of color components present in the image.
-
getBitsPerComponent
public float getBitsPerComponent()Gets the bits per component of the image.- Returns:
- The bits per component of the image.
-
setBitsPerComponent
public void setBitsPerComponent(float value)Sets the bits per component of the image.- Parameters:
value
- The bits per component of the image.
-
getColorSpace
Gets the clor space of the image.- Returns:
- The clor space of the image.
-
setColorSpace
Sets the clor space of the image.- Parameters:
value
- The clor space of the image.
-