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

net.gdface.image.LazyImageFactoryByBufferedImage Maven / Gradle / Ivy

There is a newer version: 2.10.3
Show newest version
package net.gdface.image;

import java.io.File;

public class LazyImageFactoryByBufferedImage implements LazyImageFactory {

	public LazyImageFactoryByBufferedImage() {
	}

	@Override
	public BaseLazyImage create(byte[] imgBytes) throws NotImageException, UnsupportedFormatException {
		return LazyImage.create(imgBytes);
	}

	@Override
	public BaseLazyImage create(File file, String md5) throws NotImageException, UnsupportedFormatException {
		return LazyImage.create(file, md5);
	}

	@Override
	public  BaseLazyImage create(T src) throws NotImageException, UnsupportedFormatException {
		return LazyImage.create(src);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy