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 TypeMethodDescriptionint
Gets the subtype to use when encodingvoid
setOutputSubtype
(int subtype) Sets the subtype for encoding
-
Constructor Details
-
BmpEncoderOptions
public BmpEncoderOptions()
-
-
Method Details
-
setOutputSubtype
Sets the subtype for encodingUse
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
- Specified by:
getOutputFormat
in interfaceEncoderOptions
-