[Java-gnome-developer] Cairo - embedding images in pdfs
Brought to you by:
afcowie
|
From: William T. <wil...@gm...> - 2010-02-05 22:57:47
|
Dear all
Thanks for the great libraries. They're absolutely the best way of
producing PDFs I've found.
I've got what I expect is quite a simple problem, but I've spent hours
trawling apis and I can't figure it out. I'd just like to embed a
large image in a pdf.
The following crashes the JVM:
Pixbuf pb = new Pixbuf("/tmp/logo.png");
Could anyone give me some pointers please?
I'm hoping to produce PDFs like these:
http://www.map.ox.ac.uk/data/
Which I created with some hacky Python scripts + ArcGIS, The
Gnome / Cairo Java bindings would be a much cleaner solution.
Thanks and regards,
Will Temperley
Malaria Atlas Project
University of Oxford
http://www.map.ox.ac.uk/
|