Mark Engelberg wrote:
>  Can anyone point me to a PIL-like library that will work from Clojure?


Hi Mark,

We use clojure to handle the java-only ImageJ application and library.

It's not what you'd call an industrial-strength library, but rather a
dedicated practical application for scientific image processing.

All file formats on Earth are supported. If you format is not listed,
just use File - Import - Raw... and specify header size, data format,
etc. to decode it into an image.

While ImageJ ij.jar can be used independently, we wrapped it with
clojure and many other libs in a package named Fiji, available at

   http://pacific.mpi-cbg.de

There are numerous clojure examples here:

   http://pacific.mpi-cbg.de/wiki/index.php/Clojure_Scripting


Upon download, you may want to replace the clojure.jar with a newer one,
in the jars/ folder.


The simple way to run the application is to invoke:

  ./fiji

But it can run clojure scripts too:

  ./fiji path/to/program.clj

And even launch a REPL:

  ./fiji --main-class clojure.lang.Repl


Extra options are given as:

  ./fiji -cp /some/extra/file.jar:/some/other.jar -Xincgc 
path/to/program.clj


See ./fiji --help for more options.

Albert
-- 
Albert Cardona
http://albert.rierol.net


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to