Java port of the CamanJS image manipulation library
BSD-3-CLAUSE License
This is an early port of the JS image manipulation library CamanJS to Java. There is still a lot of room for improvement and not all functionality has been ported over yet; however, CamanJ is quickly improving in speed and memory management.
Both suggestions and contributions are welcome!
All benchmarks are run against an image of size 3872x2592 using the Example.java program.
// Load CamanJ with our image
CamanJ caman = new CamanJ("images/example1.jpg");
// Apply the brightness and contrast filters
caman.filter("brightness").set(30);
caman.filter("contrast").set(10);
// Apply a preset too if you want
caman.preset("lomography");
// Output the modified image to a new file
caman.save("output/example1.jpg");