/** * Gets the width of the image. Note that this is the width of the * underlying image, and does not take into account any size manipulations * that may have occurred when the image was added into Excel * * @return the image width in pixels */ public int getImageWidth() { return getPngReader().getWidth(); }
/** * Gets the height of the image. Note that this is the height of the * underlying image, and does not take into account any size manipulations * that may have occurred when the image was added into Excel * * @return the image width in pixels */ public int getImageHeight() { return getPngReader().getHeight(); }
/** * Gets the width of the image. Note that this is the width of the * underlying image, and does not take into account any size manipulations * that may have occurred when the image was added into Excel * * @return the image width in pixels */ public int getImageWidth() { return getPngReader().getWidth(); }
/** * Gets the height of the image. Note that this is the height of the * underlying image, and does not take into account any size manipulations * that may have occurred when the image was added into Excel * * @return the image width in pixels */ public int getImageHeight() { return getPngReader().getHeight(); }
/** * Gets the horizontal resolution of the image, if that information * is available. * * @return the number of dots per unit specified, if available, 0 otherwise */ public double getHorizontalResolution(LengthUnit unit) { int res = getPngReader().getHorizontalResolution(); return res / LengthConverter.getConversionFactor(LengthUnit.METRES, unit); }
/** * Gets the vertical resolution of the image, if that information * is available. * * @return the number of dots per unit specified, if available, 0 otherwise */ public double getVerticalResolution(LengthUnit unit) { int res = getPngReader().getVerticalResolution(); return res / LengthConverter.getConversionFactor(LengthUnit.METRES, unit); }
/** * Gets the horizontal resolution of the image, if that information * is available. * * @return the number of dots per unit specified, if available, 0 otherwise */ public double getHorizontalResolution(LengthUnit unit) { int res = getPngReader().getHorizontalResolution(); return res / LengthConverter.getConversionFactor(LengthUnit.METRES, unit); }
/** * Gets the vertical resolution of the image, if that information * is available. * * @return the number of dots per unit specified, if available, 0 otherwise */ public double getVerticalResolution(LengthUnit unit) { int res = getPngReader().getVerticalResolution(); return res / LengthConverter.getConversionFactor(LengthUnit.METRES, unit); }