net.gdface.image.LazyImageFactoryByBufferedImage Maven / Gradle / Ivy
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