Class TIFFUtilities.TIFFPage

  • Enclosing class:
    TIFFUtilities

    public static class TIFFUtilities.TIFFPage
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void rotate​(int degree)
      Rotates the image by changing TIFF.TAG_ORIENTATION.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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�.