shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
<title>TJTransform</title>
shun-iwasawa 82a8f5
<link href="../../../stylesheet.css" rel="stylesheet" title="Style" type="text/css">
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
<script type="text/javascript"><!--</script>
shun-iwasawa 82a8f5
    try {
shun-iwasawa 82a8f5
        if (location.href.indexOf('is-external=true') == -1) {
shun-iwasawa 82a8f5
            parent.document.title="TJTransform";
shun-iwasawa 82a8f5
        }
shun-iwasawa 82a8f5
    }
shun-iwasawa 82a8f5
    catch(err) {
shun-iwasawa 82a8f5
    }
shun-iwasawa 82a8f5
//-->
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
JavaScript is disabled on your browser.
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
shun-iwasawa 82a8f5
    shun-iwasawa 82a8f5
  • Package
  • shun-iwasawa 82a8f5
  • Class
  • shun-iwasawa 82a8f5
  • Tree
  • shun-iwasawa 82a8f5
  • Deprecated
  • shun-iwasawa 82a8f5
  • Index
  • shun-iwasawa 82a8f5
  • Help
  • shun-iwasawa 82a8f5
    shun-iwasawa 82a8f5
    shun-iwasawa 82a8f5
    shun-iwasawa 82a8f5
      shun-iwasawa 82a8f5
    • Prev Class
    • shun-iwasawa 82a8f5
    • Next Class
    • shun-iwasawa 82a8f5
      shun-iwasawa 82a8f5
        shun-iwasawa 82a8f5
      • Frames
      • shun-iwasawa 82a8f5
      • No Frames
      • shun-iwasawa 82a8f5
        shun-iwasawa 82a8f5
          shun-iwasawa 82a8f5
        • All Classes
        • shun-iwasawa 82a8f5
          shun-iwasawa 82a8f5
          shun-iwasawa 82a8f5
          <script type="text/javascript"><!--</script>
          shun-iwasawa 82a8f5
            allClassesLink = document.getElementById("allclasses_navbar_top");
          shun-iwasawa 82a8f5
            if(window==top) {
          shun-iwasawa 82a8f5
              allClassesLink.style.display = "block";
          shun-iwasawa 82a8f5
            }
          shun-iwasawa 82a8f5
            else {
          shun-iwasawa 82a8f5
              allClassesLink.style.display = "none";
          shun-iwasawa 82a8f5
            }
          shun-iwasawa 82a8f5
            //-->
          shun-iwasawa 82a8f5
          shun-iwasawa 82a8f5
          shun-iwasawa 82a8f5
          shun-iwasawa 82a8f5
            shun-iwasawa 82a8f5
          • Summary: 
          • shun-iwasawa 82a8f5
          • Nested | 
          • shun-iwasawa 82a8f5
          • Field | 
          • shun-iwasawa 82a8f5
          • Constr | 
          • shun-iwasawa 82a8f5
          • Method
          • shun-iwasawa 82a8f5
            shun-iwasawa 82a8f5
              shun-iwasawa 82a8f5
            • Detail: 
            • shun-iwasawa 82a8f5
            • Field | 
            • shun-iwasawa 82a8f5
            • Constr | 
            • shun-iwasawa 82a8f5
            • Method
            • shun-iwasawa 82a8f5
              shun-iwasawa 82a8f5
              shun-iwasawa 82a8f5
              shun-iwasawa 82a8f5
              shun-iwasawa 82a8f5
              shun-iwasawa 82a8f5
              shun-iwasawa 82a8f5
              shun-iwasawa 82a8f5
              shun-iwasawa 82a8f5
              org.libjpegturbo.turbojpeg
              shun-iwasawa 82a8f5

              Class TJTransform

              shun-iwasawa 82a8f5
              shun-iwasawa 82a8f5
              shun-iwasawa 82a8f5
                shun-iwasawa 82a8f5
              • java.lang.Object
              • shun-iwasawa 82a8f5
              • shun-iwasawa 82a8f5
                  shun-iwasawa 82a8f5
                • java.awt.geom.RectangularShape
                • shun-iwasawa 82a8f5
                • shun-iwasawa 82a8f5
                    shun-iwasawa 82a8f5
                  • java.awt.geom.Rectangle2D
                  • shun-iwasawa 82a8f5
                  • shun-iwasawa 82a8f5
                      shun-iwasawa 82a8f5
                    • java.awt.Rectangle
                    • shun-iwasawa 82a8f5
                    • shun-iwasawa 82a8f5
                        shun-iwasawa 82a8f5
                      • org.libjpegturbo.turbojpeg.TJTransform
                      • shun-iwasawa 82a8f5
                        shun-iwasawa 82a8f5
                        shun-iwasawa 82a8f5
                        shun-iwasawa 82a8f5
                        shun-iwasawa 82a8f5
                        shun-iwasawa 82a8f5
                        shun-iwasawa 82a8f5
                        shun-iwasawa 82a8f5
                        shun-iwasawa 82a8f5
                        shun-iwasawa 82a8f5
                        shun-iwasawa 82a8f5
                          shun-iwasawa 82a8f5
                        • shun-iwasawa 82a8f5
                          shun-iwasawa 82a8f5
                          All Implemented Interfaces:
                          shun-iwasawa 82a8f5
                          java.awt.Shape, java.io.Serializable, java.lang.Cloneable
                          shun-iwasawa 82a8f5
                          shun-iwasawa 82a8f5

                          shun-iwasawa 82a8f5

                          shun-iwasawa 82a8f5
                          public class TJTransform
                          shun-iwasawa 82a8f5
                          extends java.awt.Rectangle
                          shun-iwasawa 82a8f5
                          Lossless transform parameters
                          shun-iwasawa 82a8f5
                          See Also:
                          Serialized Form
                          shun-iwasawa 82a8f5
                          shun-iwasawa 82a8f5
                          shun-iwasawa 82a8f5
                          shun-iwasawa 82a8f5
                          shun-iwasawa 82a8f5
                            shun-iwasawa 82a8f5
                          • shun-iwasawa 82a8f5
                            shun-iwasawa 82a8f5
                              shun-iwasawa 82a8f5
                            • shun-iwasawa 82a8f5
                              shun-iwasawa 82a8f5
                              shun-iwasawa 82a8f5

                              Nested Class Summary

                              shun-iwasawa 82a8f5
                                shun-iwasawa 82a8f5
                              • shun-iwasawa 82a8f5
                                shun-iwasawa 82a8f5
                                shun-iwasawa 82a8f5

                                Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D

                                shun-iwasawa 82a8f5
                                java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float
                                shun-iwasawa 82a8f5
                                shun-iwasawa 82a8f5
                                shun-iwasawa 82a8f5
                                shun-iwasawa 82a8f5
                                shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                • shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5

                                  Field Summary

                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  Fields 
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  Modifier and Type
                                  shun-iwasawa 82a8f5
                                  Field and Description
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  TJCustomFilter
                                  shun-iwasawa 82a8f5
                                  cf
                                  shun-iwasawa 82a8f5
                                  Custom filter instance
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  NUMOP
                                  shun-iwasawa 82a8f5
                                  The number of lossless transform operations
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  int
                                  shun-iwasawa 82a8f5
                                  op
                                  shun-iwasawa 82a8f5
                                  Transform operation (one of OP_*)
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OP_HFLIP
                                  shun-iwasawa 82a8f5
                                  Flip (mirror) image horizontally.
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OP_NONE
                                  shun-iwasawa 82a8f5
                                  Do not transform the position of the image pixels.
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OP_ROT180
                                  shun-iwasawa 82a8f5
                                  Rotate image 180 degrees.
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OP_ROT270
                                  shun-iwasawa 82a8f5
                                  Rotate image counter-clockwise by 90 degrees.
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OP_ROT90
                                  shun-iwasawa 82a8f5
                                  Rotate image clockwise by 90 degrees.
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OP_TRANSPOSE
                                  shun-iwasawa 82a8f5
                                  Transpose image (flip/mirror along upper left to lower right axis).
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OP_TRANSVERSE
                                  shun-iwasawa 82a8f5
                                  Transverse transpose image (flip/mirror along upper right to lower left
                                  shun-iwasawa 82a8f5
                                   axis).
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OP_VFLIP
                                  shun-iwasawa 82a8f5
                                  Flip (mirror) image vertically.
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OPT_COPYNONE
                                  shun-iwasawa 82a8f5
                                  This option will prevent TJTransformer.transform() from copying any extra markers (including EXIF
                                  shun-iwasawa 82a8f5
                                   and ICC profile data) from the source image to the output image.
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OPT_CROP
                                  shun-iwasawa 82a8f5
                                  This option will enable lossless cropping.
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OPT_GRAY
                                  shun-iwasawa 82a8f5
                                  This option will discard the color data in the input image and produce
                                  shun-iwasawa 82a8f5
                                   a grayscale output image.
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OPT_NOOUTPUT
                                  shun-iwasawa 82a8f5
                                  This option will prevent TJTransformer.transform() from outputting a JPEG image for this
                                  shun-iwasawa 82a8f5
                                   particular transform.
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OPT_PERFECT
                                  shun-iwasawa 82a8f5
                                  This option will cause TJTransformer.transform() to throw an exception if the transform is not
                                  shun-iwasawa 82a8f5
                                   perfect.
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OPT_PROGRESSIVE
                                  shun-iwasawa 82a8f5
                                  This option will enable progressive entropy coding in the output image
                                  shun-iwasawa 82a8f5
                                   generated by this particular transform.
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  static int
                                  shun-iwasawa 82a8f5
                                  OPT_TRIM
                                  shun-iwasawa 82a8f5
                                  This option will discard any partial MCU blocks that cannot be
                                  shun-iwasawa 82a8f5
                                   transformed.
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  int
                                  shun-iwasawa 82a8f5
                                  options
                                  shun-iwasawa 82a8f5
                                  Transform options (bitwise OR of one or more of OPT_*)
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                  shun-iwasawa 82a8f5
                                    shun-iwasawa 82a8f5
                                  • shun-iwasawa 82a8f5
                                    shun-iwasawa 82a8f5
                                    shun-iwasawa 82a8f5

                                    Fields inherited from class java.awt.Rectangle

                                    shun-iwasawa 82a8f5
                                    height, width, x, y
                                    shun-iwasawa 82a8f5
                                    shun-iwasawa 82a8f5
                                      shun-iwasawa 82a8f5
                                    • shun-iwasawa 82a8f5
                                      shun-iwasawa 82a8f5
                                      shun-iwasawa 82a8f5

                                      Fields inherited from class java.awt.geom.Rectangle2D

                                      shun-iwasawa 82a8f5
                                      OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
                                      shun-iwasawa 82a8f5
                                      shun-iwasawa 82a8f5
                                      shun-iwasawa 82a8f5
                                      shun-iwasawa 82a8f5
                                      shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                      • shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5

                                        Constructor Summary

                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        Constructors 
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        Constructor and Description
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        TJTransform()
                                        shun-iwasawa 82a8f5
                                        Create a new lossless transform instance.
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        TJTransform(int x,
                                        shun-iwasawa 82a8f5
                                                   int y,
                                        shun-iwasawa 82a8f5
                                                   int w,
                                        shun-iwasawa 82a8f5
                                                   int h,
                                        shun-iwasawa 82a8f5
                                                   int op,
                                        shun-iwasawa 82a8f5
                                                   int options,
                                        shun-iwasawa 82a8f5
                                                   TJCustomFilter cf)
                                        shun-iwasawa 82a8f5
                                        Create a new lossless transform instance with the given parameters.
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        TJTransform(java.awt.Rectangle r,
                                        shun-iwasawa 82a8f5
                                                   int op,
                                        shun-iwasawa 82a8f5
                                                   int options,
                                        shun-iwasawa 82a8f5
                                                   TJCustomFilter cf)
                                        shun-iwasawa 82a8f5
                                        Create a new lossless transform instance with the given parameters.
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                        shun-iwasawa 82a8f5
                                          shun-iwasawa 82a8f5
                                        • shun-iwasawa 82a8f5
                                          shun-iwasawa 82a8f5
                                          shun-iwasawa 82a8f5

                                          Method Summary

                                          shun-iwasawa 82a8f5
                                            shun-iwasawa 82a8f5
                                          • shun-iwasawa 82a8f5
                                            shun-iwasawa 82a8f5
                                            shun-iwasawa 82a8f5

                                            Methods inherited from class java.awt.Rectangle

                                            shun-iwasawa 82a8f5
                                            add, add, add, contains, contains, contains, contains, createIntersection, createUnion, equals, getBounds, getBounds2D, getHeight, getLocation, getSize, getWidth, getX, getY, grow, inside, intersection, intersects, isEmpty, move, outcode, reshape, resize, setBounds, setBounds, setLocation, setLocation, setRect, setSize, setSize, toString, translate, union
                                            shun-iwasawa 82a8f5
                                            shun-iwasawa 82a8f5
                                              shun-iwasawa 82a8f5
                                            • shun-iwasawa 82a8f5
                                              shun-iwasawa 82a8f5
                                              shun-iwasawa 82a8f5

                                              Methods inherited from class java.awt.geom.Rectangle2D

                                              shun-iwasawa 82a8f5
                                              add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, setRect, union
                                              shun-iwasawa 82a8f5
                                              shun-iwasawa 82a8f5
                                                shun-iwasawa 82a8f5
                                              • shun-iwasawa 82a8f5
                                                shun-iwasawa 82a8f5
                                                shun-iwasawa 82a8f5

                                                Methods inherited from class java.awt.geom.RectangularShape

                                                shun-iwasawa 82a8f5
                                                clone, contains, contains, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
                                                shun-iwasawa 82a8f5
                                                shun-iwasawa 82a8f5
                                                  shun-iwasawa 82a8f5
                                                • shun-iwasawa 82a8f5
                                                  shun-iwasawa 82a8f5
                                                  shun-iwasawa 82a8f5

                                                  Methods inherited from class java.lang.Object

                                                  shun-iwasawa 82a8f5
                                                  finalize, getClass, notify, notifyAll, wait, wait, wait
                                                  shun-iwasawa 82a8f5
                                                  shun-iwasawa 82a8f5
                                                    shun-iwasawa 82a8f5
                                                  • shun-iwasawa 82a8f5
                                                    shun-iwasawa 82a8f5
                                                    shun-iwasawa 82a8f5

                                                    Methods inherited from interface java.awt.Shape

                                                    shun-iwasawa 82a8f5
                                                    contains, contains, contains, contains, getPathIterator, getPathIterator, intersects, intersects
                                                    shun-iwasawa 82a8f5
                                                    shun-iwasawa 82a8f5
                                                    shun-iwasawa 82a8f5
                                                    shun-iwasawa 82a8f5
                                                    shun-iwasawa 82a8f5
                                                    shun-iwasawa 82a8f5
                                                    shun-iwasawa 82a8f5
                                                    shun-iwasawa 82a8f5
                                                      shun-iwasawa 82a8f5
                                                    • shun-iwasawa 82a8f5
                                                      shun-iwasawa 82a8f5
                                                        shun-iwasawa 82a8f5
                                                      • shun-iwasawa 82a8f5
                                                        shun-iwasawa 82a8f5
                                                        shun-iwasawa 82a8f5

                                                        Field Detail

                                                        shun-iwasawa 82a8f5
                                                        shun-iwasawa 82a8f5
                                                        shun-iwasawa 82a8f5
                                                        shun-iwasawa 82a8f5
                                                          shun-iwasawa 82a8f5
                                                        • shun-iwasawa 82a8f5

                                                          NUMOP

                                                          shun-iwasawa 82a8f5
                                                          public static final int NUMOP
                                                          shun-iwasawa 82a8f5
                                                          The number of lossless transform operations
                                                          shun-iwasawa 82a8f5
                                                          See Also:
                                                          Constant Field Values
                                                          shun-iwasawa 82a8f5
                                                          shun-iwasawa 82a8f5
                                                          shun-iwasawa 82a8f5
                                                          shun-iwasawa 82a8f5
                                                          shun-iwasawa 82a8f5
                                                          shun-iwasawa 82a8f5
                                                            shun-iwasawa 82a8f5
                                                          • shun-iwasawa 82a8f5

                                                            OP_NONE

                                                            shun-iwasawa 82a8f5
                                                            public static final int OP_NONE
                                                            shun-iwasawa 82a8f5
                                                            Do not transform the position of the image pixels.
                                                            shun-iwasawa 82a8f5
                                                            See Also:
                                                            Constant Field Values
                                                            shun-iwasawa 82a8f5
                                                            shun-iwasawa 82a8f5
                                                            shun-iwasawa 82a8f5
                                                            shun-iwasawa 82a8f5
                                                            shun-iwasawa 82a8f5
                                                            shun-iwasawa 82a8f5
                                                              shun-iwasawa 82a8f5
                                                            • shun-iwasawa 82a8f5

                                                              OP_HFLIP

                                                              shun-iwasawa 82a8f5
                                                              public static final int OP_HFLIP
                                                              shun-iwasawa 82a8f5
                                                              Flip (mirror) image horizontally. This transform is imperfect if there
                                                              shun-iwasawa 82a8f5
                                                               are any partial MCU blocks on the right edge.
                                                              shun-iwasawa 82a8f5
                                                              See Also:
                                                              OPT_PERFECT,
                                                              shun-iwasawa 82a8f5
                                                              Constant Field Values
                                                              shun-iwasawa 82a8f5
                                                              shun-iwasawa 82a8f5
                                                              shun-iwasawa 82a8f5
                                                              shun-iwasawa 82a8f5
                                                              shun-iwasawa 82a8f5
                                                              shun-iwasawa 82a8f5
                                                                shun-iwasawa 82a8f5
                                                              • shun-iwasawa 82a8f5

                                                                OP_VFLIP

                                                                shun-iwasawa 82a8f5
                                                                public static final int OP_VFLIP
                                                                shun-iwasawa 82a8f5
                                                                Flip (mirror) image vertically. This transform is imperfect if there are
                                                                shun-iwasawa 82a8f5
                                                                 any partial MCU blocks on the bottom edge.
                                                                shun-iwasawa 82a8f5
                                                                See Also:
                                                                OPT_PERFECT,
                                                                shun-iwasawa 82a8f5
                                                                Constant Field Values
                                                                shun-iwasawa 82a8f5
                                                                shun-iwasawa 82a8f5
                                                                shun-iwasawa 82a8f5
                                                                shun-iwasawa 82a8f5
                                                                shun-iwasawa 82a8f5
                                                                shun-iwasawa 82a8f5
                                                                  shun-iwasawa 82a8f5
                                                                • shun-iwasawa 82a8f5

                                                                  OP_TRANSPOSE

                                                                  shun-iwasawa 82a8f5
                                                                  public static final int OP_TRANSPOSE
                                                                  shun-iwasawa 82a8f5
                                                                  Transpose image (flip/mirror along upper left to lower right axis). This
                                                                  shun-iwasawa 82a8f5
                                                                   transform is always perfect.
                                                                  shun-iwasawa 82a8f5
                                                                  See Also:
                                                                  OPT_PERFECT,
                                                                  shun-iwasawa 82a8f5
                                                                  Constant Field Values
                                                                  shun-iwasawa 82a8f5
                                                                  shun-iwasawa 82a8f5
                                                                  shun-iwasawa 82a8f5
                                                                  shun-iwasawa 82a8f5
                                                                  shun-iwasawa 82a8f5
                                                                  shun-iwasawa 82a8f5
                                                                    shun-iwasawa 82a8f5
                                                                  • shun-iwasawa 82a8f5

                                                                    OP_TRANSVERSE

                                                                    shun-iwasawa 82a8f5
                                                                    public static final int OP_TRANSVERSE
                                                                    shun-iwasawa 82a8f5
                                                                    Transverse transpose image (flip/mirror along upper right to lower left
                                                                    shun-iwasawa 82a8f5
                                                                     axis).  This transform is imperfect if there are any partial MCU blocks in
                                                                    shun-iwasawa 82a8f5
                                                                     the image.
                                                                    shun-iwasawa 82a8f5
                                                                    See Also:
                                                                    OPT_PERFECT,
                                                                    shun-iwasawa 82a8f5
                                                                    Constant Field Values
                                                                    shun-iwasawa 82a8f5
                                                                    shun-iwasawa 82a8f5
                                                                    shun-iwasawa 82a8f5
                                                                    shun-iwasawa 82a8f5
                                                                    shun-iwasawa 82a8f5
                                                                    shun-iwasawa 82a8f5
                                                                      shun-iwasawa 82a8f5
                                                                    • shun-iwasawa 82a8f5

                                                                      OP_ROT90

                                                                      shun-iwasawa 82a8f5
                                                                      public static final int OP_ROT90
                                                                      shun-iwasawa 82a8f5
                                                                      Rotate image clockwise by 90 degrees. This transform is imperfect if
                                                                      shun-iwasawa 82a8f5
                                                                       there are any partial MCU blocks on the bottom edge.
                                                                      shun-iwasawa 82a8f5
                                                                      See Also:
                                                                      OPT_PERFECT,
                                                                      shun-iwasawa 82a8f5
                                                                      Constant Field Values
                                                                      shun-iwasawa 82a8f5
                                                                      shun-iwasawa 82a8f5
                                                                      shun-iwasawa 82a8f5
                                                                      shun-iwasawa 82a8f5
                                                                      shun-iwasawa 82a8f5
                                                                      shun-iwasawa 82a8f5
                                                                        shun-iwasawa 82a8f5
                                                                      • shun-iwasawa 82a8f5

                                                                        OP_ROT180

                                                                        shun-iwasawa 82a8f5
                                                                        public static final int OP_ROT180
                                                                        shun-iwasawa 82a8f5
                                                                        Rotate image 180 degrees. This transform is imperfect if there are any
                                                                        shun-iwasawa 82a8f5
                                                                         partial MCU blocks in the image.
                                                                        shun-iwasawa 82a8f5
                                                                        See Also:
                                                                        OPT_PERFECT,
                                                                        shun-iwasawa 82a8f5
                                                                        Constant Field Values
                                                                        shun-iwasawa 82a8f5
                                                                        shun-iwasawa 82a8f5
                                                                        shun-iwasawa 82a8f5
                                                                        shun-iwasawa 82a8f5
                                                                        shun-iwasawa 82a8f5
                                                                        shun-iwasawa 82a8f5
                                                                          shun-iwasawa 82a8f5
                                                                        • shun-iwasawa 82a8f5

                                                                          OP_ROT270

                                                                          shun-iwasawa 82a8f5
                                                                          public static final int OP_ROT270
                                                                          shun-iwasawa 82a8f5
                                                                          Rotate image counter-clockwise by 90 degrees. This transform is imperfect
                                                                          shun-iwasawa 82a8f5
                                                                           if there are any partial MCU blocks on the right edge.
                                                                          shun-iwasawa 82a8f5
                                                                          See Also:
                                                                          OPT_PERFECT,
                                                                          shun-iwasawa 82a8f5
                                                                          Constant Field Values
                                                                          shun-iwasawa 82a8f5
                                                                          shun-iwasawa 82a8f5
                                                                          shun-iwasawa 82a8f5
                                                                          shun-iwasawa 82a8f5
                                                                          shun-iwasawa 82a8f5
                                                                          shun-iwasawa 82a8f5
                                                                            shun-iwasawa 82a8f5
                                                                          • shun-iwasawa 82a8f5

                                                                            OPT_PERFECT

                                                                            shun-iwasawa 82a8f5
                                                                            public static final int OPT_PERFECT
                                                                            shun-iwasawa 82a8f5
                                                                            This option will cause TJTransformer.transform() to throw an exception if the transform is not
                                                                            shun-iwasawa 82a8f5
                                                                             perfect.  Lossless transforms operate on MCU blocks, whose size depends on
                                                                            shun-iwasawa 82a8f5
                                                                             the level of chrominance subsampling used.  If the image's width or height
                                                                            shun-iwasawa 82a8f5
                                                                             is not evenly divisible by the MCU block size (see TJ.getMCUWidth(int)
                                                                            shun-iwasawa 82a8f5
                                                                             and TJ.getMCUHeight(int)), then there will be partial MCU blocks on the
                                                                            shun-iwasawa 82a8f5
                                                                             right and/or bottom edges.   It is not possible to move these partial MCU
                                                                            shun-iwasawa 82a8f5
                                                                             blocks to the top or left of the image, so any transform that would
                                                                            shun-iwasawa 82a8f5
                                                                             require that is "imperfect."  If this option is not specified, then any
                                                                            shun-iwasawa 82a8f5
                                                                             partial MCU blocks that cannot be transformed will be left in place, which
                                                                            shun-iwasawa 82a8f5
                                                                             will create odd-looking strips on the right or bottom edge of the image.
                                                                            shun-iwasawa 82a8f5
                                                                            See Also:
                                                                            Constant Field Values
                                                                            shun-iwasawa 82a8f5
                                                                            shun-iwasawa 82a8f5
                                                                            shun-iwasawa 82a8f5
                                                                            shun-iwasawa 82a8f5
                                                                            shun-iwasawa 82a8f5
                                                                            shun-iwasawa 82a8f5
                                                                              shun-iwasawa 82a8f5
                                                                            • shun-iwasawa 82a8f5

                                                                              OPT_TRIM

                                                                              shun-iwasawa 82a8f5
                                                                              public static final int OPT_TRIM
                                                                              shun-iwasawa 82a8f5
                                                                              This option will discard any partial MCU blocks that cannot be
                                                                              shun-iwasawa 82a8f5
                                                                               transformed.
                                                                              shun-iwasawa 82a8f5
                                                                              See Also:
                                                                              Constant Field Values
                                                                              shun-iwasawa 82a8f5
                                                                              shun-iwasawa 82a8f5
                                                                              shun-iwasawa 82a8f5
                                                                              shun-iwasawa 82a8f5
                                                                              shun-iwasawa 82a8f5
                                                                              shun-iwasawa 82a8f5
                                                                                shun-iwasawa 82a8f5
                                                                              • shun-iwasawa 82a8f5

                                                                                OPT_CROP

                                                                                shun-iwasawa 82a8f5
                                                                                public static final int OPT_CROP
                                                                                shun-iwasawa 82a8f5
                                                                                This option will enable lossless cropping.
                                                                                shun-iwasawa 82a8f5
                                                                                See Also:
                                                                                Constant Field Values
                                                                                shun-iwasawa 82a8f5
                                                                                shun-iwasawa 82a8f5
                                                                                shun-iwasawa 82a8f5
                                                                                shun-iwasawa 82a8f5
                                                                                shun-iwasawa 82a8f5
                                                                                shun-iwasawa 82a8f5
                                                                                  shun-iwasawa 82a8f5
                                                                                • shun-iwasawa 82a8f5

                                                                                  OPT_GRAY

                                                                                  shun-iwasawa 82a8f5
                                                                                  public static final int OPT_GRAY
                                                                                  shun-iwasawa 82a8f5
                                                                                  This option will discard the color data in the input image and produce
                                                                                  shun-iwasawa 82a8f5
                                                                                   a grayscale output image.
                                                                                  shun-iwasawa 82a8f5
                                                                                  See Also:
                                                                                  Constant Field Values
                                                                                  shun-iwasawa 82a8f5
                                                                                  shun-iwasawa 82a8f5
                                                                                  shun-iwasawa 82a8f5
                                                                                  shun-iwasawa 82a8f5
                                                                                  shun-iwasawa 82a8f5
                                                                                  shun-iwasawa 82a8f5
                                                                                    shun-iwasawa 82a8f5
                                                                                  • shun-iwasawa 82a8f5

                                                                                    OPT_NOOUTPUT

                                                                                    shun-iwasawa 82a8f5
                                                                                    public static final int OPT_NOOUTPUT
                                                                                    shun-iwasawa 82a8f5
                                                                                    This option will prevent TJTransformer.transform() from outputting a JPEG image for this
                                                                                    shun-iwasawa 82a8f5
                                                                                     particular transform.  This can be used in conjunction with a custom
                                                                                    shun-iwasawa 82a8f5
                                                                                     filter to capture the transformed DCT coefficients without transcoding
                                                                                    shun-iwasawa 82a8f5
                                                                                     them.
                                                                                    shun-iwasawa 82a8f5
                                                                                    See Also:
                                                                                    Constant Field Values
                                                                                    shun-iwasawa 82a8f5
                                                                                    shun-iwasawa 82a8f5
                                                                                    shun-iwasawa 82a8f5
                                                                                    shun-iwasawa 82a8f5
                                                                                    shun-iwasawa 82a8f5
                                                                                    shun-iwasawa 82a8f5
                                                                                      shun-iwasawa 82a8f5
                                                                                    • shun-iwasawa 82a8f5

                                                                                      OPT_PROGRESSIVE

                                                                                      shun-iwasawa 82a8f5
                                                                                      public static final int OPT_PROGRESSIVE
                                                                                      shun-iwasawa 82a8f5
                                                                                      This option will enable progressive entropy coding in the output image
                                                                                      shun-iwasawa 82a8f5
                                                                                       generated by this particular transform.  Progressive entropy coding will
                                                                                      shun-iwasawa 82a8f5
                                                                                       generally improve compression relative to baseline entropy coding (the
                                                                                      shun-iwasawa 82a8f5
                                                                                       default), but it will reduce compression and decompression performance
                                                                                      shun-iwasawa 82a8f5
                                                                                       considerably.
                                                                                      shun-iwasawa 82a8f5
                                                                                      See Also:
                                                                                      Constant Field Values
                                                                                      shun-iwasawa 82a8f5
                                                                                      shun-iwasawa 82a8f5
                                                                                      shun-iwasawa 82a8f5
                                                                                      shun-iwasawa 82a8f5
                                                                                      shun-iwasawa 82a8f5
                                                                                      shun-iwasawa 82a8f5
                                                                                        shun-iwasawa 82a8f5
                                                                                      • shun-iwasawa 82a8f5

                                                                                        OPT_COPYNONE

                                                                                        shun-iwasawa 82a8f5
                                                                                        public static final int OPT_COPYNONE
                                                                                        shun-iwasawa 82a8f5
                                                                                        This option will prevent TJTransformer.transform() from copying any extra markers (including EXIF
                                                                                        shun-iwasawa 82a8f5
                                                                                         and ICC profile data) from the source image to the output image.
                                                                                        shun-iwasawa 82a8f5
                                                                                        See Also:
                                                                                        Constant Field Values
                                                                                        shun-iwasawa 82a8f5
                                                                                        shun-iwasawa 82a8f5
                                                                                        shun-iwasawa 82a8f5
                                                                                        shun-iwasawa 82a8f5
                                                                                        shun-iwasawa 82a8f5
                                                                                        shun-iwasawa 82a8f5
                                                                                          shun-iwasawa 82a8f5
                                                                                        • shun-iwasawa 82a8f5

                                                                                          op

                                                                                          shun-iwasawa 82a8f5
                                                                                          public int op
                                                                                          shun-iwasawa 82a8f5
                                                                                          Transform operation (one of OP_*)
                                                                                          shun-iwasawa 82a8f5
                                                                                          shun-iwasawa 82a8f5
                                                                                          shun-iwasawa 82a8f5
                                                                                          shun-iwasawa 82a8f5
                                                                                          shun-iwasawa 82a8f5
                                                                                          shun-iwasawa 82a8f5
                                                                                            shun-iwasawa 82a8f5
                                                                                          • shun-iwasawa 82a8f5

                                                                                            options

                                                                                            shun-iwasawa 82a8f5
                                                                                            public int options
                                                                                            shun-iwasawa 82a8f5
                                                                                            Transform options (bitwise OR of one or more of OPT_*)
                                                                                            shun-iwasawa 82a8f5
                                                                                            shun-iwasawa 82a8f5
                                                                                            shun-iwasawa 82a8f5
                                                                                            shun-iwasawa 82a8f5
                                                                                            shun-iwasawa 82a8f5
                                                                                            shun-iwasawa 82a8f5
                                                                                              shun-iwasawa 82a8f5
                                                                                            • shun-iwasawa 82a8f5

                                                                                              cf

                                                                                              shun-iwasawa 82a8f5
                                                                                              public TJCustomFilter cf
                                                                                              shun-iwasawa 82a8f5
                                                                                              Custom filter instance
                                                                                              shun-iwasawa 82a8f5
                                                                                              shun-iwasawa 82a8f5
                                                                                              shun-iwasawa 82a8f5
                                                                                              shun-iwasawa 82a8f5
                                                                                              shun-iwasawa 82a8f5
                                                                                              shun-iwasawa 82a8f5
                                                                                                shun-iwasawa 82a8f5
                                                                                              • shun-iwasawa 82a8f5
                                                                                                shun-iwasawa 82a8f5
                                                                                                shun-iwasawa 82a8f5

                                                                                                Constructor Detail

                                                                                                shun-iwasawa 82a8f5
                                                                                                shun-iwasawa 82a8f5
                                                                                                shun-iwasawa 82a8f5
                                                                                                shun-iwasawa 82a8f5
                                                                                                  shun-iwasawa 82a8f5
                                                                                                • shun-iwasawa 82a8f5

                                                                                                  TJTransform

                                                                                                  shun-iwasawa 82a8f5
                                                                                                  public TJTransform()
                                                                                                  shun-iwasawa 82a8f5
                                                                                                  Create a new lossless transform instance.
                                                                                                  shun-iwasawa 82a8f5
                                                                                                  shun-iwasawa 82a8f5
                                                                                                  shun-iwasawa 82a8f5
                                                                                                  shun-iwasawa 82a8f5
                                                                                                  shun-iwasawa 82a8f5
                                                                                                  shun-iwasawa 82a8f5
                                                                                                    shun-iwasawa 82a8f5
                                                                                                  • shun-iwasawa 82a8f5

                                                                                                    TJTransform

                                                                                                    shun-iwasawa 82a8f5
                                                                                                    public TJTransform(int x,
                                                                                                    shun-iwasawa 82a8f5
                                                                                                               int y,
                                                                                                    shun-iwasawa 82a8f5
                                                                                                               int w,
                                                                                                    shun-iwasawa 82a8f5
                                                                                                               int h,
                                                                                                    shun-iwasawa 82a8f5
                                                                                                               int op,
                                                                                                    shun-iwasawa 82a8f5
                                                                                                               int options,
                                                                                                    shun-iwasawa 82a8f5
                                                                                                               TJCustomFilter cf)
                                                                                                    shun-iwasawa 82a8f5
                                                                                                    Create a new lossless transform instance with the given parameters.
                                                                                                    shun-iwasawa 82a8f5
                                                                                                    Parameters:
                                                                                                    x - the left boundary of the cropping region. This must be evenly
                                                                                                    shun-iwasawa 82a8f5
                                                                                                     divisible by the MCU block width (see TJ.getMCUWidth(int))
                                                                                                    y - the upper boundary of the cropping region. This must be evenly
                                                                                                    shun-iwasawa 82a8f5
                                                                                                     divisible by the MCU block height (see TJ.getMCUHeight(int))
                                                                                                    w - the width of the cropping region. Setting this to 0 is the
                                                                                                    shun-iwasawa 82a8f5
                                                                                                     equivalent of setting it to (width of the source JPEG image -
                                                                                                    shun-iwasawa 82a8f5
                                                                                                     x).
                                                                                                    h - the height of the cropping region. Setting this to 0 is the
                                                                                                    shun-iwasawa 82a8f5
                                                                                                     equivalent of setting it to (height of the source JPEG image -
                                                                                                    shun-iwasawa 82a8f5
                                                                                                     y).
                                                                                                    op - one of the transform operations (OP_*)
                                                                                                    options - the bitwise OR of one or more of the transform options
                                                                                                    shun-iwasawa 82a8f5
                                                                                                     (OPT_*)
                                                                                                    cf - an instance of an object that implements the TJCustomFilter interface, or null if no custom filter is needed
                                                                                                    shun-iwasawa 82a8f5
                                                                                                    shun-iwasawa 82a8f5
                                                                                                    shun-iwasawa 82a8f5
                                                                                                    shun-iwasawa 82a8f5
                                                                                                    shun-iwasawa 82a8f5
                                                                                                    shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                    • shun-iwasawa 82a8f5

                                                                                                      TJTransform

                                                                                                      shun-iwasawa 82a8f5
                                                                                                      public TJTransform(java.awt.Rectangle r,
                                                                                                      shun-iwasawa 82a8f5
                                                                                                                 int op,
                                                                                                      shun-iwasawa 82a8f5
                                                                                                                 int options,
                                                                                                      shun-iwasawa 82a8f5
                                                                                                                 TJCustomFilter cf)
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      Create a new lossless transform instance with the given parameters.
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      Parameters:
                                                                                                      r - a Rectangle instance that specifies the cropping
                                                                                                      shun-iwasawa 82a8f5
                                                                                                       region.  See TJTransform(int, int, int, int, int, int, TJCustomFilter) for more
                                                                                                      shun-iwasawa 82a8f5
                                                                                                       detail.
                                                                                                      op - one of the transform operations (OP_*)
                                                                                                      options - the bitwise OR of one or more of the transform options
                                                                                                      shun-iwasawa 82a8f5
                                                                                                       (OPT_*)
                                                                                                      cf - an instance of an object that implements the TJCustomFilter interface, or null if no custom filter is needed
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                      shun-iwasawa 82a8f5
                                                                                                        shun-iwasawa 82a8f5
                                                                                                      • Package
                                                                                                      • shun-iwasawa 82a8f5
                                                                                                      • Class
                                                                                                      • shun-iwasawa 82a8f5
                                                                                                      • Tree
                                                                                                      • shun-iwasawa 82a8f5
                                                                                                      • Deprecated
                                                                                                      • shun-iwasawa 82a8f5
                                                                                                      • Index
                                                                                                      • shun-iwasawa 82a8f5
                                                                                                      • Help
                                                                                                      • shun-iwasawa 82a8f5
                                                                                                        shun-iwasawa 82a8f5
                                                                                                        shun-iwasawa 82a8f5
                                                                                                        shun-iwasawa 82a8f5
                                                                                                          shun-iwasawa 82a8f5
                                                                                                        • Prev Class
                                                                                                        • shun-iwasawa 82a8f5
                                                                                                        • Next Class
                                                                                                        • shun-iwasawa 82a8f5
                                                                                                          shun-iwasawa 82a8f5
                                                                                                            shun-iwasawa 82a8f5
                                                                                                          • Frames
                                                                                                          • shun-iwasawa 82a8f5
                                                                                                          • No Frames
                                                                                                          • shun-iwasawa 82a8f5
                                                                                                            shun-iwasawa 82a8f5
                                                                                                              shun-iwasawa 82a8f5
                                                                                                            • All Classes
                                                                                                            • shun-iwasawa 82a8f5
                                                                                                              shun-iwasawa 82a8f5
                                                                                                              shun-iwasawa 82a8f5
                                                                                                              <script type="text/javascript"><!--</script>
                                                                                                              shun-iwasawa 82a8f5
                                                                                                                allClassesLink = document.getElementById("allclasses_navbar_bottom");
                                                                                                              shun-iwasawa 82a8f5
                                                                                                                if(window==top) {
                                                                                                              shun-iwasawa 82a8f5
                                                                                                                  allClassesLink.style.display = "block";
                                                                                                              shun-iwasawa 82a8f5
                                                                                                                }
                                                                                                              shun-iwasawa 82a8f5
                                                                                                                else {
                                                                                                              shun-iwasawa 82a8f5
                                                                                                                  allClassesLink.style.display = "none";
                                                                                                              shun-iwasawa 82a8f5
                                                                                                                }
                                                                                                              shun-iwasawa 82a8f5
                                                                                                                //-->
                                                                                                              shun-iwasawa 82a8f5
                                                                                                              shun-iwasawa 82a8f5
                                                                                                              shun-iwasawa 82a8f5
                                                                                                              shun-iwasawa 82a8f5
                                                                                                                shun-iwasawa 82a8f5
                                                                                                              • Summary: 
                                                                                                              • shun-iwasawa 82a8f5
                                                                                                              • Nested | 
                                                                                                              • shun-iwasawa 82a8f5
                                                                                                              • Field | 
                                                                                                              • shun-iwasawa 82a8f5
                                                                                                              • Constr | 
                                                                                                              • shun-iwasawa 82a8f5
                                                                                                              • Method
                                                                                                              • shun-iwasawa 82a8f5
                                                                                                                shun-iwasawa 82a8f5
                                                                                                                  shun-iwasawa 82a8f5
                                                                                                                • Detail: 
                                                                                                                • shun-iwasawa 82a8f5
                                                                                                                • Field | 
                                                                                                                • shun-iwasawa 82a8f5
                                                                                                                • Constr | 
                                                                                                                • shun-iwasawa 82a8f5
                                                                                                                • Method
                                                                                                                • shun-iwasawa 82a8f5
                                                                                                                  shun-iwasawa 82a8f5
                                                                                                                  shun-iwasawa 82a8f5
                                                                                                                  shun-iwasawa 82a8f5
                                                                                                                  shun-iwasawa 82a8f5
                                                                                                                  shun-iwasawa 82a8f5
                                                                                                                  shun-iwasawa 82a8f5
                                                                                                                  shun-iwasawa 82a8f5