Class JPTOps

  • Direct Known Subclasses:
    JPTOperation

    public class JPTOps
    extends Operation
    This class subclasses Operation and adds methods for all commandline options of jpegtran.

    This class is automatically generated by the source-code generator of im4java.

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected JPTOps()
      The protected Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      JPTOps copy​(java.lang.String pCopyType)
      Add option -copy to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps crop​(java.lang.Integer pWidth)
      Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps crop​(java.lang.Integer pWidth, java.lang.Integer pHeight)
      Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps crop​(java.lang.Integer pWidth, java.lang.Integer pHeight, java.lang.Integer pXoffset)
      Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps crop​(java.lang.Integer pWidth, java.lang.Integer pHeight, java.lang.Integer pXoffset, java.lang.Integer pYoffset)
      Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps debug()
      Add option -debug to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps flip​(java.lang.String type)
      Add option -flip to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps grayscale()
      Add option -grayscale to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps maxmemory​(java.lang.Integer pSize)
      Add option -maxmemory to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps optimize()
      Add option -optimize to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps outfile​(java.lang.String pFilename)
      Add option -outfile to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps perfect()
      Add option -perfect to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps progressive()
      Add option -progressive to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps restart​(java.lang.Integer pNumber)
      Add option -restart to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps rotate​(java.lang.Double pDegrees)
      Add option -rotate to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps scans​(java.lang.String pFilename)
      Add option -scans to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps transpose()
      Add option -transpose to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps transverse()
      Add option -transverse to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps trim()
      Add option -trim to the jpegtran commandline (see the documentation of jpegtran for details).
      JPTOps verbose()
      Add option -verbose to the jpegtran commandline (see the documentation of jpegtran for details).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • JPTOps

        protected JPTOps()
        The protected Constructor. You should only use subclasses of JPTOps.
    • Method Detail

      • copy

        public JPTOps copy​(java.lang.String pCopyType)
        Add option -copy to the jpegtran commandline (see the documentation of jpegtran for details).
      • optimize

        public JPTOps optimize()
        Add option -optimize to the jpegtran commandline (see the documentation of jpegtran for details).
      • progressive

        public JPTOps progressive()
        Add option -progressive to the jpegtran commandline (see the documentation of jpegtran for details).
      • crop

        public JPTOps crop​(java.lang.Integer pWidth)
        Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).
      • crop

        public JPTOps crop​(java.lang.Integer pWidth,
                           java.lang.Integer pHeight)
        Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).
      • crop

        public JPTOps crop​(java.lang.Integer pWidth,
                           java.lang.Integer pHeight,
                           java.lang.Integer pXoffset)
        Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).
      • crop

        public JPTOps crop​(java.lang.Integer pWidth,
                           java.lang.Integer pHeight,
                           java.lang.Integer pXoffset,
                           java.lang.Integer pYoffset)
        Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).
      • grayscale

        public JPTOps grayscale()
        Add option -grayscale to the jpegtran commandline (see the documentation of jpegtran for details).
      • flip

        public JPTOps flip​(java.lang.String type)
        Add option -flip to the jpegtran commandline (see the documentation of jpegtran for details).
      • perfect

        public JPTOps perfect()
        Add option -perfect to the jpegtran commandline (see the documentation of jpegtran for details).
      • rotate

        public JPTOps rotate​(java.lang.Double pDegrees)
        Add option -rotate to the jpegtran commandline (see the documentation of jpegtran for details).
      • transpose

        public JPTOps transpose()
        Add option -transpose to the jpegtran commandline (see the documentation of jpegtran for details).
      • transverse

        public JPTOps transverse()
        Add option -transverse to the jpegtran commandline (see the documentation of jpegtran for details).
      • trim

        public JPTOps trim()
        Add option -trim to the jpegtran commandline (see the documentation of jpegtran for details).
      • restart

        public JPTOps restart​(java.lang.Integer pNumber)
        Add option -restart to the jpegtran commandline (see the documentation of jpegtran for details).
      • maxmemory

        public JPTOps maxmemory​(java.lang.Integer pSize)
        Add option -maxmemory to the jpegtran commandline (see the documentation of jpegtran for details).
      • outfile

        public JPTOps outfile​(java.lang.String pFilename)
        Add option -outfile to the jpegtran commandline (see the documentation of jpegtran for details).
      • verbose

        public JPTOps verbose()
        Add option -verbose to the jpegtran commandline (see the documentation of jpegtran for details).
      • debug

        public JPTOps debug()
        Add option -debug to the jpegtran commandline (see the documentation of jpegtran for details).
      • scans

        public JPTOps scans​(java.lang.String pFilename)
        Add option -scans to the jpegtran commandline (see the documentation of jpegtran for details).