in reply to Text::PDF documentation???
Thank's LostS for giving me a hint of how to do this.
I tried the 0.06 version with your script (removed parts that I didn't need) just to see if it would include jpg's as expected,
but no...
I get the following:
Not a JPEG file.
Can't use string ("1.2") as a HASH ref while "strict refs" in use at D:/Perl/site/lib/PDF/Create/Page.pm
I'm 100% sure that it's a JPG-picture so I'm a bit confused...
Second, when I try and open the file after removing the part with the image (just trying to create a PDF-document)
Acrobat Reader says:
"This file is damaged and is beeing repaired"
Anyone got a clue about this???
Thanks for your posting ronzo.
It might be an idea to go through a postscript-file, but I'm trying to avoid it as far as I can...
This should be posible to do with the PDF::Create even if I can't get it working at the moment ;-)
/k2
(I tried to include the code I used but I can't post my message when the code is included...)