|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BitmapEncoder
This interface is used to encode bitmaps into their target formats.
Method Summary | |
---|---|
void |
encode(java.awt.image.BufferedImage image,
java.io.OutputStream out,
java.lang.String mime,
int resolution)
Encodes a BufferedImage to a target format and writes it to the OutputStream. |
java.lang.String[] |
getSupportedMIMETypes()
Returns an array of MIME types supported. |
Method Detail |
---|
java.lang.String[] getSupportedMIMETypes()
void encode(java.awt.image.BufferedImage image, java.io.OutputStream out, java.lang.String mime, int resolution) throws java.io.IOException
image
- the image to encodeout
- the OutputStream to write the image tomime
- the MIME type in which to encode the imageresolution
- the resolution in dpi of the image
java.io.IOException
- in case of an I/O problem
|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |