Class BmpEncoderOptions
java.lang.Object
com.idrsolutions.image.bmp.options.BmpEncoderOptions
- All Implemented Interfaces:
EncoderOptions
Class handles the options available for writing BMP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the subtype to use when encodingvoidsetOutputSubtype(int subtype) Sets the subtype for encoding
-
Constructor Details
-
BmpEncoderOptions
public BmpEncoderOptions()
-
-
Method Details
-
setOutputSubtype
Sets the subtype for encodingUse
BufferedImageimage 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
-1if it hasn't been set
-
getOutputFormat
- Specified by:
getOutputFormatin interfaceEncoderOptions
-