public interface ImageHandler
Modifier and Type | Method and Description |
---|---|
boolean |
isMimeTypeWritable(java.lang.String mimeType) |
void |
makeSmaller(Artwork artwork,
int size) |
void |
reduceQuality(Artwork artwork,
int maxSize) |
void |
showReadFormats() |
void |
showWriteFormats() |
byte[] |
writeImage(java.awt.image.BufferedImage bi,
java.lang.String mimeType) |
byte[] |
writeImageAsPng(java.awt.image.BufferedImage bi) |
void reduceQuality(Artwork artwork, int maxSize) throws java.io.IOException
java.io.IOException
void makeSmaller(Artwork artwork, int size) throws java.io.IOException
java.io.IOException
boolean isMimeTypeWritable(java.lang.String mimeType)
byte[] writeImage(java.awt.image.BufferedImage bi, java.lang.String mimeType) throws java.io.IOException
java.io.IOException
byte[] writeImageAsPng(java.awt.image.BufferedImage bi) throws java.io.IOException
java.io.IOException
void showReadFormats()
void showWriteFormats()
Copyright © 2005-2013 java.net. All Rights Reserved.