Annotation Interface ImageWriterParams
An annotation that a resource class can use to pass parameters
to the
IIOImageProvider
.- Version:
- $Revision: $
- Author:
- Ryan J. McDonough
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionint
Specifies the compression mode for the output image.float
Specifies the compression quality of the image being written.
-
Element Details
-
compressionQuality
float compressionQualitySpecifies the compression quality of the image being written. By default, the highest compression level is used. A float value between 0.0f and 1.0f are acceptable. The default value is 1.0f;- Returns:
- compression quality
- Default:
- 1.0f
-
compressionMode
int compressionModeSpecifies the compression mode for the output image. By default, it usesImageWriteParam.MODE_COPY_FROM_METADATA
.- Returns:
- compression mode
- Default:
- 3
-