FileDocCategorySizeDatePackage
ImageHandler.javaAPI DocJaudiotagger 2.0.4655Thu Apr 28 21:20:34 BST 2011org.jaudiotagger.tag.images

ImageHandler.java

package org.jaudiotagger.tag.images;

import java.awt.image.BufferedImage;
import java.io.ByteArrayInputStream;
import java.io.IOException;

/**
 * Image Handler
 */
public interface ImageHandler
{
    public void reduceQuality(Artwork artwork, int maxSize) throws IOException;
    public void makeSmaller(Artwork artwork,int size) throws IOException;
    public boolean isMimeTypeWritable(String mimeType);
    public byte[] writeImage(BufferedImage bi,String mimeType) throws IOException;
    public byte[] writeImageAsPng(BufferedImage bi) throws IOException;
    public void showReadFormats();
    public void showWriteFormats();
}