javax > javax.imageio > javax.imageio.imagewriteparam >

Class: javax.imageio.ImageWriteParam
    java.lang.Object
       javax.imageio.IIOParam
               javax.imageio.ImageWriteParam


public class ImageWriteParam extends IIOParam


FIELDS:
public static final int MODE_COPY_FROM_METADATA : 3
public static final int MODE_DEFAULT : 1
public static final int MODE_DISABLED : 0
public static final int MODE_EXPLICIT : 2
protected boolean canOffsetTiles
protected boolean canWriteCompressed
protected boolean canWriteProgressive
protected boolean canWriteTiles
protected int compressionMode
protected float compressionQuality
protected String compressionType
protected String[] compressionTypes
protected Locale locale
protected Dimension[] preferredTileSizes
protected int progressiveMode
protected int tileGridXOffset
protected int tileGridYOffset
protected int tileHeight
protected int tileWidth
protected int tilingMode
protected boolean tilingSet

CONSTRUCTORS:
protected ImageWriteParam()

public ImageWriteParam(Locale locale)


METHODS:
public boolean canOffsetTiles()

public boolean canWriteCompressed()

public boolean canWriteProgressive()

public boolean canWriteTiles()

public float getBitRate(float quality)
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalStateException
Throws: IllegalArgumentException

public int getCompressionMode()
Throws: UnsupportedOperationException

public float getCompressionQuality()
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalStateException

public String[] getCompressionQualityDescriptions()
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalStateException

public float[] getCompressionQualityValues()
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalStateException

public String getCompressionType()
Throws: UnsupportedOperationException
Throws: IllegalStateException

public String[] getCompressionTypes()
Throws: UnsupportedOperationException

public Locale getLocale()

public String getLocalizedCompressionTypeName()
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalStateException

public Dimension[] getPreferredTileSizes()
Throws: UnsupportedOperationException

public int getProgressiveMode()
Throws: UnsupportedOperationException

public int getTileGridXOffset()
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalStateException

public int getTileGridYOffset()
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalStateException

public int getTileHeight()
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalStateException

public int getTileWidth()
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalStateException

public int getTilingMode()
Throws: UnsupportedOperationException

public boolean isCompressionLossless()
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalStateException

public void setCompressionMode(int mode)
Throws: UnsupportedOperationException
Throws: IllegalArgumentException

public void setCompressionQuality(float quality)
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: IllegalStateException
Throws: IllegalArgumentException

public void setCompressionType(String compressionType)
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IllegalArgumentException

public void setProgressiveMode(int mode)
Throws: UnsupportedOperationException
Throws: IllegalArgumentException

public void setTiling(int tileWidth, int tileHeight, int tileGridXOffset, int tileGridYOffset)
Throws: UnsupportedOperationException
Throws: IllegalStateException
Throws: UnsupportedOperationException
Throws: IllegalArgumentException
Throws: IllegalArgumentException

public void setTilingMode(int mode)
Throws: UnsupportedOperationException
Throws: IllegalArgumentException

public void unsetCompression()
Throws: UnsupportedOperationException
Throws: IllegalStateException

public void unsetTiling()
Throws: UnsupportedOperationException
Throws: IllegalStateException


INHERITED METHODS:
setSourceRegion(java.awt.Rectangle), getSourceRegion(), setSourceSubsampling(int, int, int, int), getSourceXSubsampling(), getSourceYSubsampling(), getSubsamplingXOffset(), getSubsamplingYOffset(), setSourceBands(int[]), getSourceBands(), setDestinationType(javax.imageio.ImageTypeSpecifier), getDestinationType(), setDestinationOffset(java.awt.Point), getDestinationOffset(), setController(javax.imageio.IIOParamController), getController(), getDefaultController(), hasController(), activateController(), getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:
BMPImageWriteParam, JPEGImageWriteParam,





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net