The im4java Library, Version 1.4.0

org.im4java.core
Class JPTOps

java.lang.Object
  extended by org.im4java.core.Operation
      extended by 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.

Version:
$Revision: 1.14 $
Author:
$Author: bablokb $

Field Summary
 
Fields inherited from class org.im4java.core.Operation
IMG_PLACEHOLDER
 
Constructor Summary
protected JPTOps()
          The protected Constructor.
 
Method Summary
 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 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 org.im4java.core.Operation
addDynamicOperation, addImage, addImage, addImage, addOperation, addRawArgs, addRawArgs, cloneObject, getCmdArgs, getDynamicOperations, toString
 
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).


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).


The im4java Library, Version 1.4.0

Released under the LGPL, (c) Bernhard Bablok 2008-2010
Homepage: http://im4java.sourceforge.net/