Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /homepages/11/d274290037/htdocs/serabe/wp-content/plugins/ultimate-google-analytics/ultimate_ga.php on line 524
I started writing rinzelight long time ago. Exactly, I started on February. Sadly, since I wasn’t getting a few points about Clojure, I stopped working on it twenty days after for half a year.
But do not let me digress. Rinzelight is finally released! Actually, rinzelight 0.0.2 is released! But let me introduce you to rinzelight.
Opening an image.
rinzelight.image namespace. Then, just provide
read-image of a filepath or an InputStream. Just like this:
Yes. Four fields: image, format, width and height.
It’s an image. Let me see it!
Command your repl to
What about saving it?
The correct spell is
write-image. Just give it an image and an uri.
I want to change an image’s nature.
If you want to, you can. Just look for namespaces under
rinzelight.effects. Lookup tables and affine transforms are already available. There are even
map-pixel-location functions. If you want to use
map-pixel-location, take a look at
rinzelight.effects.helper-functions for a helping hand.
What about a few examples?
I hide them under examples. They are a bit obfuscated using
criterium for benchmarking, but they are not hard to understand. For running them, use
lein run. They’ll take a bit, since I use them as benchmarks.