Add a standard text or watermark image to a PDF file
Posted: 2015-06-19T00:42:34-07:00
Hello,
The command I am using in a Python script is as follows:
Questions:
1) What can be done to improve the command?
2) The error message goes like this:
Barbaros, Istanbul/Turkey
The command I am using in a Python script is as follows:
It creates a text at the bottom. However, I would like also to learn how to add a watermark image (the image is a PNG file)."convert -density 150 -strip -interlace JPEG -compress JPEG -quality 60 -sharpen 0x1.0 -trim -fill grey -font Times-Bold -pointsize 10 -gravity South -layers composite -annotate +0+0 'ITU Mustafa Inan Kutuphanesi' %s %s"%(pdf_file, pdf_file)
Questions:
1) What can be done to improve the command?
2) The error message goes like this:
Thank you,convert.im6: missing Null Image List Separator layers Composite @ error/mogrify.c/MogrifyImageList/7941.
Barbaros, Istanbul/Turkey