Package com.twelvemonkeys.contrib.tiff
Class TIFFUtilities.TIFFPage
java.lang.Object
com.twelvemonkeys.contrib.tiff.TIFFUtilities.TIFFPage
- Enclosing class:
- TIFFUtilities
-
Method Summary
Modifier and TypeMethodDescriptionvoid
rotate
(int degree) Rotates the image by changing TIFF.TAG_ORIENTATION.
-
Method Details
-
rotate
public void rotate(int degree) Rotates the image by changing TIFF.TAG_ORIENTATION.NOTICE: TIFF.TAG_ORIENTATION is an advice how the image is meant do be displayed. Other metadata, such as width and height, relate to the image as how it is stored. The ImageIO TIFF plugin does not handle orientation. Use
TIFFUtilities.applyOrientation(BufferedImage, int)
for applying TIFF.TAG_ORIENTATION.- Parameters:
degree
- Rotation amount, supports 90�, 180� and 270�.
-