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.metadata.ExifgetExif()com.idrsolutions.image.encoder.OutputFormatintGets the subtype to use when encodingvoidsetExif(com.idrsolutions.image.metadata.Exif exif) voidsetOutputSubtype(int subtype) Sets the subtype for encodingboolean
-
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
-
setExif
public void setExif(com.idrsolutions.image.metadata.Exif exif) - Specified by:
setExifin interfacecom.idrsolutions.image.encoder.options.EncoderOptions
-
getExif
public com.idrsolutions.image.metadata.Exif getExif()- Specified by:
getExifin interfacecom.idrsolutions.image.encoder.options.EncoderOptions
-
supportsExif
public boolean supportsExif()- Specified by:
supportsExifin interfacecom.idrsolutions.image.encoder.options.EncoderOptions
-