Batik can serialize to both PNG and PDF. http://xmlgraphics.apache.org/batik/

I currently use Batik in a clojure project doing a lot of drawing of
2d vector-based images. It's a very extensive library but it suits my
needs well.

On Apr 29, 9:26 pm, stu <stuart.hungerf...@gmail.com> wrote:
> Hi,
>
> I'm developing a Clojure project that loads and creates a bunch of
> simple 2D geometry (lines, polygons, beziers, text etc). I need to
> create in a batch-style way high quality 2D renderings of that
> geometry, firstly as PNG files and secondly as PDF files.
>
> What are my options for doing this from Clojure?
>
> So far I can see it might be done with Java2D as I think this can be
> used server-side to create the PNG files, but not sure about the
> PDFs.  I believe I can use Incanter's wrapping of the Processing
> libraries for the PNG and again I'm not sure about the PDF option.
>
> The Cairo toolkit is also an option via the Gnome Java bindings and
> Java interop?
>
> Are there other options that I'm missing that anyone would like to
> report on?
>
> Thanks in advance,
>
> Stu

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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