FyTek Forum

Full Version: Foreground image in PDF
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I have been trying to use PDFmeld to put up a foreground image in an existing pdf

I use the following command

$ ./pdfmeld 1.pdf op.pdf -imgin '<IMG NAME="sample" X=100 Y=100 TRANSPARENCY=1 SRC="/home/zyxware/Downloads/pdfmeld/maize.jpg">'

but the image never appears in PDF.

I am using the Linux version of pdfmeld.

Let me know if I am doing something wrong.

Regards
Zyxware
(01-01-2010 05:16 AM)zyxware Wrote: [ -> ]Hi

I have been trying to use PDFmeld to put up a foreground image in an existing pdf

I use the following command

$ ./pdfmeld 1.pdf op.pdf -imgin '<IMG NAME="sample" X=100 Y=100 TRANSPARENCY=1 SRC="/home/zyxware/Downloads/pdfmeld/maize.jpg">'

but the image never appears in PDF.

I am using the Linux version of pdfmeld.

Let me know if I am doing something wrong.

Regards
Zyxware

Try leaving the name="sample", off. It references a image name from the -imout parm.

Regards,

Pat Gorney
pgorney@fyek.com
I figured out how to do this sometime back. When I saved the tag in a text file and then gave the text file as a parameter to -imgin it worked. Yes I did leave the name attribute out.

But thanks for your help Smile

Regards
Santhosh
Reference URL's