spadged / alivepdf

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

Trouble adding image in Flex #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm having trouble with adding an image from Flex to my PDF.

I'm getting an error message saying the PDF is damaged.

I want to output my panel in Flex, this is the line of code:
myPDF.addImage(myPanel, 1, null, null, true, ImageFormat.JPG, 100, 0, 0, 
0, 0);
'myPanel' is the id of the main Panel, and if I'm right Panel it extends 
DisplayObject.

If I only add text it is just working fine.

Original issue reported on code.google.com by ovenhand...@gmail.com on 27 Dec 2007 at 12:50

GoogleCodeExporter commented 9 years ago
Hi,

I will double check that tomorrow and let you know ;)

Thanks for tracking,

kind regards,

Thibault

Original comment by thibault.imbert on 27 Dec 2007 at 11:47

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi ovenhandschoen,

This issue has been fixed in the next release (0.1.5)

please wait a little bit :)

regards,

Thibault

Original comment by thibault.imbert on 11 Jan 2008 at 11:07

GoogleCodeExporter commented 9 years ago
can you send me the 0.1.5? please... i realy need that urgent!

rui.cruz@arealmedia.com

Original comment by info.rui...@gmail.com on 6 Feb 2008 at 4:32

GoogleCodeExporter commented 9 years ago
hi friends.
I'm having the same trouble.
I think the problem is with the size of the graphics when taken Panel. My panel 
contains a graph with the size width and height 100% 100%. If you shrink the 
size of 
the graphic to 50% in both properties working properly, but the problem is that 
it 
would properly on the panel.
I hope this information is useful and will soon have version 0.1.5.
Thank you and sorry for my English
Federico

Original comment by fedep...@gmail.com on 8 Feb 2008 at 5:51

GoogleCodeExporter commented 9 years ago
I tried to do what Federico said above resulting in no image being displayed at 
all.
I am getting the message "There was an error opening this document. The file is
damaged and could not be repaired". 

What i am trying to do is add a bar chart as an image to a pdf. What Federico 
said
makes sense so I tried that to no avail. 

Is there any other way to do this, or version 1.5 maybe which is rumoured to 
have
fixed this issue

Original comment by lehmann....@gmail.com on 28 Oct 2008 at 11:48

GoogleCodeExporter commented 9 years ago
Still having this issue here. Any progress?

Original comment by macleod.tyler on 23 Sep 2009 at 4:07

GoogleCodeExporter commented 9 years ago
For me, this was related to Issue 82. I've posted my fix there.

Original comment by macleod.tyler on 24 Sep 2009 at 12:30