public class ImageSaveParams
extends java.lang.Object
| Constructor and Description |
|---|
ImageSaveParams()
Default parameters for saving an image to a file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
CompressionCode |
getCompression()
Type of compression to be used in saving the image to a file.
|
boolean |
getDisableAlphaChannelGeneration()
Is the RGB image data to be combined with the Mask image data in the output file.
|
boolean |
getHalftoneGrayImages()
Is this is a Half Tone Grayscale Image..
|
int |
getJPEGQuality()
The quality of a (JPEG) output image.
|
short |
getMonochromeThreshold()
Threshold to use for determining which bits are white or black for Monochrome output (0-255, default is 128).
|
boolean |
getRaiseExceptionIfNotUsableColor()
When an image is written that is not in a format native to the image type, shall we raise an exception.
|
boolean |
getReverseGray()
Is the GrayScale output reversed.
|
boolean |
getTIFFBlackIsOne()
Is a TIFF file photometrically reversed.
|
TIFFByteOrder |
getTIFFByteOrder()
Controls the byte order used within the TIFF file.
|
boolean |
getTIFFCMYKAlpha()
Is the CMYK image data to be combined with the Soft Mask image data in the output TIF file.
|
boolean |
getWriteSeparationColorsToTIFF()
When we write an image that is specified in a separation or deviceN color, we will Convert that image to sRGB, if WriteSeparationColorsToTIFF is false, or write it using the Photoshop Tag for separation colors, if WriteSeparationColorsToTIFF is true.
|
void |
setCompression(CompressionCode arg0) |
void |
setDisableAlphaChannelGeneration(boolean disableAlphaChannelGeneration) |
void |
setHalftoneGrayImages(boolean arg0) |
void |
setJPEGQuality(int arg0) |
void |
setMonochromeThreshold(short monochromeThreshold) |
void |
setRaiseExceptionIfNotUsableColor(boolean RaiseExceptionIfNotUsableColor) |
void |
setReverseGray(boolean arg0) |
void |
setTIFFBlackIsOne(boolean arg0) |
void |
setTIFFByteOrder(TIFFByteOrder tiffByteOrder) |
void |
setTIFFCMYKAlpha(boolean cmykAlpha) |
void |
setWriteSeparationColorsToTIFF(boolean WriteSeparationColorsToTIFF) |
public ImageSaveParams()
public void delete()
public boolean getReverseGray()
public void setReverseGray(boolean arg0)
public boolean getTIFFBlackIsOne()
public void setTIFFBlackIsOne(boolean arg0)
public CompressionCode getCompression()
public void setCompression(CompressionCode arg0)
public int getJPEGQuality()
public void setJPEGQuality(int arg0)
public boolean getHalftoneGrayImages()
public void setHalftoneGrayImages(boolean arg0)
public short getMonochromeThreshold()
public void setMonochromeThreshold(short monochromeThreshold)
public boolean getTIFFCMYKAlpha()
public void setTIFFCMYKAlpha(boolean cmykAlpha)
public boolean getRaiseExceptionIfNotUsableColor()
public void setRaiseExceptionIfNotUsableColor(boolean RaiseExceptionIfNotUsableColor)
public boolean getWriteSeparationColorsToTIFF()
public void setWriteSeparationColorsToTIFF(boolean WriteSeparationColorsToTIFF)
public boolean getDisableAlphaChannelGeneration()
public void setDisableAlphaChannelGeneration(boolean disableAlphaChannelGeneration)
public TIFFByteOrder getTIFFByteOrder()
public void setTIFFByteOrder(TIFFByteOrder tiffByteOrder)