panda.image.ImageWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-core Show documentation
Show all versions of panda-core Show documentation
Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.
package panda.image;
import java.io.IOException;
import java.io.OutputStream;
/**
*/
public interface ImageWrapper {
Object getImage();
int getWidth();
int getHeight();
String getFormat();
void setFormat(String format);
int getQuality();
void setQuality(int quality);
byte[] getData();
void write(OutputStream os) throws IOException;
ImageWrapper resize(int width, int height);
ImageWrapper resize(int scale);
}