Giter Club home page Giter Club logo

Comments (1)

KilianB avatar KilianB commented on August 28, 2024

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.
For the time being you should be able to simply mute the logger.

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.
JavaFX should be removed or made optional due to it not being bundled in the official java release. Maybe it's time to update the codebase :)

from jimagehash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.