-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logging #43
Comments
If the same image is processed multiple times you could convert it to a known format beforehand once. BufferedImage in = ImageIO.read(new File("2Linepdftojpeg.jpeg"));
//Convert image since input type is a weird custom format
BufferedImage newImage = new BufferedImage(in.getWidth(), in.getHeight(), BufferedImage.TYPE_INT_RGB);
Graphics2D g = newImage.createGraphics();
g.drawImage(in, 0, 0, null);
g.dispose();
//save to disk
... Up until the end of the week I do not have access to my development station, therefore I can't upload and sign any binaries. java.util.logging.Logger;
Logger logger = Logger.getLogger(FastPixel.class.getSimpleName());
logger(Level.OFF); I am not really happy about the dependency of the project. I had a larger rework planned to add support for alpha channel images #38. |
Can you remove this log message or at least set it to debug level instead of info? It's clogging up the log files when we process lots of images. Is there actually any action that we can take when a BufferedImage has an unrecognized type?
"com.github.kilianB.graphics.FastPixel create
INFO: No fast implementation available for 13. Fallback to slow default variant."
The text was updated successfully, but these errors were encountered: