Package net.sf.jasperreports.engine.util
Class ImageUtil
- java.lang.Object
-
- net.sf.jasperreports.engine.util.ImageUtil
-
public final class ImageUtil extends Object
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImageUtil.Insets
-
Constructor Summary
Constructors Constructor Description ImageUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ImageUtil.Insets
getExifCrop(JRPrintImage image, ExifOrientationEnum exifOrientation, double cropTop, double cropLeft, double cropBottom, double cropRight)
static ExifOrientationEnum
getExifOrientation(byte[] data)
static RotationEnum
getRotation(RotationEnum rotation, ExifOrientationEnum exifOrientation)
static float
getXAlignFactor(JRImageAlignment imageAlignment)
static float
getXAlignFactor(HorizontalImageAlignEnum horizontalAlign)
static float
getYAlignFactor(JRImageAlignment imageAlignment)
static float
getYAlignFactor(VerticalImageAlignEnum verticalAlign)
-
-
-
Method Detail
-
getXAlignFactor
public static float getXAlignFactor(JRImageAlignment imageAlignment)
-
getXAlignFactor
public static float getXAlignFactor(HorizontalImageAlignEnum horizontalAlign)
-
getYAlignFactor
public static float getYAlignFactor(JRImageAlignment imageAlignment)
-
getYAlignFactor
public static float getYAlignFactor(VerticalImageAlignEnum verticalAlign)
-
getExifOrientation
public static ExifOrientationEnum getExifOrientation(byte[] data)
-
getRotation
public static RotationEnum getRotation(RotationEnum rotation, ExifOrientationEnum exifOrientation)
-
getExifCrop
public static ImageUtil.Insets getExifCrop(JRPrintImage image, ExifOrientationEnum exifOrientation, double cropTop, double cropLeft, double cropBottom, double cropRight)
-
-