Package eu.europa.esig.dss.pdf.visible
Class ImageAndResolution
- java.lang.Object
-
- eu.europa.esig.dss.pdf.visible.ImageAndResolution
-
public class ImageAndResolution extends Object
An InputStream wrapper for an image, and its horizontal and vertical resolution- Author:
- pakeyser
-
-
Constructor Summary
Constructors Constructor Description ImageAndResolution(DSSDocument image, int xDpi, int yDpi)
-
Method Summary
Modifier and Type Method Description InputStreamgetInputStream()intgetxDpi()intgetyDpi()StringtoString()floattoXPoint(float x)floattoYPoint(float y)
-
-
-
Constructor Detail
-
ImageAndResolution
public ImageAndResolution(DSSDocument image, int xDpi, int yDpi)
-
-
Method Detail
-
getxDpi
public int getxDpi()
-
getyDpi
public int getyDpi()
-
toXPoint
public float toXPoint(float x)
-
toYPoint
public float toYPoint(float y)
-
getInputStream
public InputStream getInputStream()
-
-