org.jboss.resteasy.annotations.providers.img

## Annotation Type ImageWriterParams

-     @Documented
      @Retention(value=RUNTIME)
      @Target(value={METHOD,TYPE})
      public @interface ImageWriterParams

  An annotation that a resource class can use to pass parameters to the `IIOImageProvider`.
  Version:
    $Revision: $
  Author:

    - - ### Optional Element Summary

        Optional Elements
        Modifier and Type | Optional Element and Description
        --- | ---
        `int` | `compressionMode` Specifies the compression mode for the output image.
        `float` | `compressionQuality` Specifies the compression quality of the image being written.

- - ### Element Detail

    - #### compressionQuality

          public abstract float compressionQuality

      Specifies 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:
      Default:
        1.0f

    - #### compressionMode

          public abstract int compressionMode

      Specifies the compression mode for the output image. By default, it uses `ImageWriteParam.MODE_COPY_FROM_METADATA`.
      Returns:
      Default:
        3

Copyright © 2014. All Rights Reserved.