Imagez – image processing for Clojure

Posted: May 16, 2013 in Uncategorized

To help people with their graphical endeavours in Clojure, I created a new library Imagez which provided a set of handy image processing functions.

Inverted Ant

Imagez is much simpler than Clisk – the key difference is that Clisk is intended for procedural generation of completely new images (fractals, procedural texturing etc.), whereas Imagez is mostly focused on simple processing of existing images (filters, resizing etc.)

I’ve tried to make the syntax as simple, pleasant and idiomatic as possible. For example, the above image is produced with:

(def ant (load-image "mikera/image/samples/Ant.png"))

(show (filter-image (invert) ant))

Feedback  / code contributions all welcome!



  1. Pardeep says:

    Hi Mike, do you have any start to end example of how to take an uploaded image file and resize & crop it? I’m having a problem feeding the buffered image data in. Tried etc, but am clearly doing something wrong being new to clojure. Thanks.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s