Class ImageAndResolution


  • public class ImageAndResolution
    extends Object
    An InputStream wrapper for an image, and its horizontal and vertical resolution
    Author:
    pakeyser
    • 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)