Class BmpEncoderOptions

java.lang.Object
com.idrsolutions.image.bmp.options.BmpEncoderOptions
All Implemented Interfaces:
EncoderOptions

public class BmpEncoderOptions extends Object implements EncoderOptions
Class handles the options available for writing BMP
  • Constructor Details

    • BmpEncoderOptions

      public BmpEncoderOptions()
  • Method Details

    • setOutputSubtype

      public void setOutputSubtype(int subtype) throws IOException
      Sets the subtype for encoding

      Use BufferedImage image type constants

      Parameters:
      subtype - the subtype to use when encoding
      Throws:
      IOException - when the subtype is not supported
    • getOutputSubtype

      public int getOutputSubtype()
      Gets the subtype to use when encoding

      Returns:
      the subtype, or -1 if it hasn't been set
    • getOutputFormat

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