Annotation Type ImageWriterParams
-
@Documented @Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface ImageWriterParams
An annotation that a resource class can use to pass parameters to theIIOImageProvider
.- Version:
- $Revision: $
- Author:
- Ryan J. McDonough
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description int
compressionMode
Specifies the compression mode for the output image.float
compressionQuality
Specifies the compression quality of the image being written.
-
-
-
-
compressionMode
int compressionMode
Specifies the compression mode for the output image. By default, it usesImageWriteParam.MODE_COPY_FROM_METADATA
.- Returns:
- compression mode
- Default:
- 3
-
-