Giter Club home page Giter Club logo

camanj's Introduction

CamanJ

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!

Latest Benchmarks

All benchmarks are run against an image of size 3872x2592 using the Example.java program.

Mac OSX

  • Test CPU: Intel Core i7 2.66GHz (dual-core with hyperthreading)
  • Render time: ~1880ms

Windows 7

  • Test CPU: Intel Core i7 2.75GHz (quad-core with hyperthreading)
  • Render time: ~1100ms

Example Usage

// 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");

Goals

  • Similar interface to the original CamanJS library
  • Very simple to use for image manipulation
  • Extremely fast with the ability to handle very large images
  • Android compatibility
  • Easily extensible with new funcitonality (e.g. with JARs and ServiceLoader)

camanj's People

Contributors

meltingice avatar mrloyal avatar

Watchers

James Cloos avatar  avatar

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.