Class AvifEncoderOptions

java.lang.Object
com.idrsolutions.image.avif.options.AvifEncoderOptions
All Implemented Interfaces:
EncoderOptions

public class AvifEncoderOptions extends Object implements EncoderOptions
  • Constructor Details

    • AvifEncoderOptions

      public AvifEncoderOptions()
  • Method Details

    • getOutputFormat

      public OutputFormat getOutputFormat()
      Specified by:
      getOutputFormat in interface EncoderOptions
    • setQuality

      public void setQuality(int quality)
      Set the image quality level for AVIF output. The quality level can be between 1 - 100 and if not set defaults to 75. Higher quality produces better quality AVIF files but increases output data size.
      Parameters:
      quality - Quality level to set for AVIF output
    • getQuality

      public int getQuality()
      Retrieve the image quality level for AVIF output. The quality level can be between 1 - 100 and if not set defaults to 50. Higher quality produces better quality AVIF files but increases output data size.
      Returns:
      Quality level used for AVIF output