Deprecated: ImageMagick/GraphicsMagick command line wrapper for Clojure.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/im4clj
test
.gitignore
README.md
TODO.md
epl-v10.html
license.txt
project.clj

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.