Has anyone managed to embed gruff graphs into a PDF document using
pdf::writer?
The easy way (as far as I can see) would be to just save the gruff graph
as a temporary file then read that file in pdf::writer. I was wondering
if anyone had managed to get them working together directly?
I did this pretty easily using the technique RJ described earlier
with writing a temp file. It’s kind of a hack but it works.
What I’m doing is:
First generating the gruff graphs and storing it as file, then
loading that file in as a blob in the db
Then generate the pdf by pulling the graphs out of the db, store them
as temp files, then load that file using the pdf image method.