vikrambalye / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Render flash object to PDF #321

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What would you like dompdf to do:

I would like it to recognize an object tag, take a flash object from within it 
and convert it to a pdf.

Do you have an example:

Having a simple snapshot of the flash object (treated like a static image), 
instead of rendering each frame, would work just fine.
A case what I have in mind is having a flash object that simply contains a pie 
chart of a graph chart. If those could somehow be converted to an image that 
would be embedded to the pdf, it would be ideal.

Thanks in advance.

Original issue reported on code.google.com by capoeiri...@gmail.com on 7 Jul 2011 at 2:32

GoogleCodeExporter commented 9 years ago
Hello, this may not be more difficult than just taking an image from the Flash 
object. I think the flash object that draws the chart requires Javascript to be 
executed, and Dompdf doesn't execute Javascript.
This may be easier to use a server side library for your charts, and insert 
them as regular <img> tags.

Original comment by fabien.menager on 7 Jul 2011 at 4:59

GoogleCodeExporter commented 9 years ago
Thank you for the reply Fabien.

In this case, JS is not assisting the creation of the object, as it's all being 
dynamically passed via URL variables.

I am also looking into other server-side options. Unfortunately, most of those 
require access to the fla file one way or another, which is something I do not 
have.

M.

Original comment by capoeiri...@gmail.com on 11 Jul 2011 at 3:38

GoogleCodeExporter commented 9 years ago
Ok for the JS.
I thought about server side scripts written in PHP or the langage that you use 
on your server. There are a few ones in PHP like http://jpgraph.net/ 
http://graphpite.sourceforge.net/ or http://www.pchart.net/

Original comment by fabien.menager on 12 Jul 2011 at 6:14

GoogleCodeExporter commented 9 years ago
Yeah, jpgraph is the one I'm looking into just now.

Thanks again.

M.

Original comment by capoeiri...@gmail.com on 12 Jul 2011 at 1:40

GoogleCodeExporter commented 9 years ago

Original comment by fabien.menager on 23 Oct 2011 at 2:45

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:16