public interface ImageHandler
Modifier and Type | Method and Description |
---|---|
boolean |
isMimeTypeWritable(String mimeType) |
void |
makeSmaller(Artwork artwork,
int size) |
void |
reduceQuality(Artwork artwork,
int maxSize) |
void |
showReadFormats() |
void |
showWriteFormats() |
byte[] |
writeImage(BufferedImage bi,
String mimeType) |
byte[] |
writeImageAsPng(BufferedImage bi) |
void reduceQuality(Artwork artwork, int maxSize) throws IOException
IOException
void makeSmaller(Artwork artwork, int size) throws IOException
IOException
boolean isMimeTypeWritable(String mimeType)
byte[] writeImage(BufferedImage bi, String mimeType) throws IOException
IOException
byte[] writeImageAsPng(BufferedImage bi) throws IOException
IOException
void showReadFormats()
void showWriteFormats()
Copyright © 2005–2020 jthink.net. All rights reserved.