import java.io.InputStream;
import java.util.stream.Stream;
-import javax.imageio.ImageIO;
-
import be.nikiroo.utils.Image;
import be.nikiroo.utils.ImageUtils;
import be.nikiroo.utils.StringUtils;
@Override
protected boolean check() {
// If we can get the class, it means we have access to it
- Config.ALPHA_8;
+ Config c = Config.ALPHA_8;
return true;
}
throw new IOException(
"Failed to convert input to image, size was: " + ssize);
}
+
+ return image;
} finally {
stream.close();
}
-
- return image;
}
}