public static class TIFFUtilities.TIFFPage extends Object
Modifier and Type | Method and Description |
---|---|
void |
rotate(int degree)
Rotates the image by changing TIFF.TAG_ORIENTATION.
|
public void rotate(int degree)
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.
degree
- Rotation amount, supports 90�, 180� and 270�.Copyright © 2017. All rights reserved.