All Downloads are FREE. Search and download functionalities are using the official Maven repository.

panda.image.ImageWrapper Maven / Gradle / Ivy

Go to download

Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.

There is a newer version: 1.8.0
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy