Package net.sf.jasperreports.engine.util
Class ImageUtil
java.lang.Object
net.sf.jasperreports.engine.util.ImageUtil
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
Constructor Details
-
ImageUtil
public ImageUtil()
-
-
Method Details
-
getXAlignFactor
-
getXAlignFactor
-
getYAlignFactor
-
getYAlignFactor
-
getExifOrientation
-
getRotation
-
getExifCrop
public static ImageUtil.Insets getExifCrop(JRPrintImage image, ExifOrientationEnum exifOrientation, double cropTop, double cropLeft, double cropBottom, double cropRight)
-