Deprecated: ImageMagick/GraphicsMagick command line wrapper for Clojure.
Clojure
Latest commit 957e3f9 Jun 10, 2013 @neatonk v0.0.1 release

README.md

NOTE


im4clj is incomplete and is not currently under active development. I personally, reccomend using a generic shell scripting tool like https://github.com/Raynes/conch instead. However, im4clj does provide some additional niceties like (inline documentation) and will remain here for that purpose.


im4clj

ImageMagick/GraphicsMagick commandline wrapper for Clojure.

See the im4clj wiki and the im4clj API docs for more detailed information.

Example

Crop an image...

user=> (convert "path/to/image.jpg" (-resize 640 480) "path/to/new-image.jpg")
nil

Get documentation...

user=> (doc -resize)
-------------------------
im4clj.core/-resize
([width height] [width height special])
  resize an image
nil

Install

Install ImageMagick or GraphicsMagick.

Add the following dependency to your project.clj file:

[im4clj "0.0.1"]

Documentation

License

Copyright (C) deeperbydesign, inc 2012.

Distributed under the Eclipse Public License, the same as Clojure.

Test images obtained from NASA's website are public domain and not subject to the above copyright notice.