Class BmpEncoderOptions
java.lang.Object
com.idrsolutions.image.bmp.options.BmpEncoderOptions
- All Implemented Interfaces:
com.idrsolutions.image.encoder.options.EncoderOptions
public class BmpEncoderOptions
extends Object
implements com.idrsolutions.image.encoder.options.EncoderOptions
Class handles the options available for writing BMP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.idrsolutions.image.encoder.OutputFormatintGets 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
public com.idrsolutions.image.encoder.OutputFormat getOutputFormat()- Specified by:
getOutputFormatin interfacecom.idrsolutions.image.encoder.options.EncoderOptions
-