Package org.im4java.core
Class JPTOps
- java.lang.Object
-
- org.im4java.core.Operation
-
- org.im4java.core.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 protectedJPTOps()The protected Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JPTOpscopy(java.lang.String pCopyType)Add option -copy to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpscrop(java.lang.Integer pWidth)Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpscrop(java.lang.Integer pWidth, java.lang.Integer pHeight)Add option -crop to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpscrop(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).JPTOpscrop(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).JPTOpsdebug()Add option -debug to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpsflip(java.lang.String type)Add option -flip to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpsgrayscale()Add option -grayscale to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpsmaxmemory(java.lang.Integer pSize)Add option -maxmemory to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpsoptimize()Add option -optimize to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpsoutfile(java.lang.String pFilename)Add option -outfile to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpsperfect()Add option -perfect to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpsprogressive()Add option -progressive to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpsrestart(java.lang.Integer pNumber)Add option -restart to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpsrotate(java.lang.Double pDegrees)Add option -rotate to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpsscans(java.lang.String pFilename)Add option -scans to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpstranspose()Add option -transpose to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpstransverse()Add option -transverse to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpstrim()Add option -trim to the jpegtran commandline (see the documentation of jpegtran for details).JPTOpsverbose()Add option -verbose to the jpegtran commandline (see the documentation of jpegtran for details).-
Methods inherited from class org.im4java.core.Operation
addDynamicOperation, addImage, addImage, addImage, addOperation, addRawArgs, addRawArgs, cloneObject, getCmdArgs, getDynamicOperations, toString
-
-
-
-
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).
-
-