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.

  • Field Summary

    Fields inherited from class org.im4java.core.Operation

    IMG_PLACEHOLDER
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    The protected Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    copy(String pCopyType)
    Add option -copy to the jpegtran commandline (see the documentation of jpegtran for details).
    crop(Integer pWidth)
    Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).
    crop(Integer pWidth, Integer pHeight)
    Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).
    crop(Integer pWidth, Integer pHeight, Integer pXoffset)
    Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).
    crop(Integer pWidth, Integer pHeight, Integer pXoffset, Integer pYoffset)
    Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).
    Add option -debug to the jpegtran commandline (see the documentation of jpegtran for details).
    flip(String type)
    Add option -flip to the jpegtran commandline (see the documentation of jpegtran for details).
    Add option -grayscale to the jpegtran commandline (see the documentation of jpegtran for details).
    Add option -maxmemory to the jpegtran commandline (see the documentation of jpegtran for details).
    Add option -optimize to the jpegtran commandline (see the documentation of jpegtran for details).
    outfile(String pFilename)
    Add option -outfile to the jpegtran commandline (see the documentation of jpegtran for details).
    Add option -perfect to the jpegtran commandline (see the documentation of jpegtran for details).
    Add option -progressive to the jpegtran commandline (see the documentation of jpegtran for details).
    restart(Integer pNumber)
    Add option -restart to the jpegtran commandline (see the documentation of jpegtran for details).
    rotate(Double pDegrees)
    Add option -rotate to the jpegtran commandline (see the documentation of jpegtran for details).
    scans(String pFilename)
    Add option -scans to the jpegtran commandline (see the documentation of jpegtran for details).
    Add option -transpose to the jpegtran commandline (see the documentation of jpegtran for details).
    Add option -transverse to the jpegtran commandline (see the documentation of jpegtran for details).
    Add option -trim to the jpegtran commandline (see the documentation of jpegtran for details).
    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 Details

    • JPTOps

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

    • copy

      public JPTOps copy(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(Integer pWidth)
      Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).
    • crop

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

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

      public JPTOps crop(Integer pWidth, Integer pHeight, Integer pXoffset, 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(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(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(Integer pNumber)
      Add option -restart to the jpegtran commandline (see the documentation of jpegtran for details).
    • maxmemory

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

      public JPTOps outfile(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(String pFilename)
      Add option -scans to the jpegtran commandline (see the documentation of jpegtran for details).