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

com.harium.etyl.loader.image.AWTReader Maven / Gradle / Ivy

package com.harium.etyl.loader.image;

import java.awt.image.BufferedImage;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;

import javax.imageio.ImageIO;

public class AWTReader implements ImageReader {

	@Override
	public BufferedImage loadImage(URL url) throws IOException {
		return ImageIO.read(url);
	}

	@Override
	public BufferedImage loadImage(InputStream input) throws IOException {
		return ImageIO.read(input);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy