final public static TranscodingHints.Key | KEY_FORCE_TRANSPARENT_WHITE The forceTransparentWhite key.
Key: |
KEY_FORCE_TRANSPARENT_WHITE |
Value: |
Boolean |
Default: |
false |
Required: |
No |
Description: |
It controls whether the encoder should
force the image's fully transparent pixels to be fully transparent
white instead of fully transparent black. |
Constructor Summary | |
public | TIFFTranscoder() Constructs a new transcoder that produces tiff images. |
KEY_COMPRESSION_METHOD | final public static TranscodingHints.Key KEY_COMPRESSION_METHOD(Code) | | The compression method for the image.
Key: |
KEY_COMPRESSION_METHOD |
Value: |
String ("none", "packbits", "jpeg" etc.) |
Default: |
"none" (no compression) |
Required: |
Recommended |
Description: |
Specify the compression method used to encode the image. |
|
KEY_FORCE_TRANSPARENT_WHITE | final public static TranscodingHints.Key KEY_FORCE_TRANSPARENT_WHITE(Code) | | The forceTransparentWhite key.
Key: |
KEY_FORCE_TRANSPARENT_WHITE |
Value: |
Boolean |
Default: |
false |
Required: |
No |
Description: |
It controls whether the encoder should
force the image's fully transparent pixels to be fully transparent
white instead of fully transparent black. This is usefull when the
encoded TIFF is displayed in a viewer which does not support TIFF
transparency and lets the image display with a white background instead
of a black background.
However, note that the modified image will display differently
over a white background in a viewer that supports
transparency. |
|
TIFFTranscoder | public TIFFTranscoder()(Code) | | Constructs a new transcoder that produces tiff images.
|
createImage | public BufferedImage createImage(int width, int height)(Code) | | Creates a new ARGB image with the specified dimension.
Parameters: width - the image width in pixels Parameters: height - the image height in pixels |
getUserAgent | public UserAgent getUserAgent()(Code) | | the transcoder's user agent |
|