Hi,
We use daily Image Magick to insert bmp image in pdf file.
Most of the time it works fine but sometimes the inserted image is invisible in the pdf result.
Steps to reproduce :
- use the following command :
convert -density 144 Teliway_tournee_3_2336026.pdf SIG_91371134021020520001_20160930085609.bmp -geometry 240x136+860+270 -composite -compress Zip resultat.pdf
with the two files I will try to attach to this message.
Best regards,
Laurent Lyaudet
Invisible insert
Re: Invisible insert
It seems I cannot add the pdf file and the bmp file to the topic.
You can mail me at : llyaudet_TA_teliae.fr and I'll send the files to anybody willing to reproduce this bug.
Best regards,
Laurent Lyaudet
You can mail me at : llyaudet_TA_teliae.fr and I'll send the files to anybody willing to reproduce this bug.
Best regards,
Laurent Lyaudet
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Invisible insert
You can post your images to some place such as dropbox.com and put the URLs here. This forum does not allow direct uploads.
Re: Invisible insert
Hi,
Thanks for the help.
Here is a dropbox link to access the files needed to reproduce the bug :
https://www.dropbox.com/sh/fu7p0q1gmg93 ... xALTa?dl=0
Note that dropbox display the bmp without showing its name.
The name of the bmp file is SIG_91371134021020520001_20160930085609.bmp
Best regards,
Laurent Lyaudet
Thanks for the help.
Here is a dropbox link to access the files needed to reproduce the bug :
https://www.dropbox.com/sh/fu7p0q1gmg93 ... xALTa?dl=0
Note that dropbox display the bmp without showing its name.
The name of the bmp file is SIG_91371134021020520001_20160930085609.bmp
Best regards,
Laurent Lyaudet
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Invisible insert
Your input pdf has two pages. With your command, you can only add the bmp to one page at a time. Try just using the first page of the pdf.
Code: Select all
convert -density 144 Teliway_tournee_3_2336026.pdf[0] SIG_91371134021020520001_20160930085609.bmp -geometry 240x136+860+270 -composite -compress Zip resultat.pdf
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Invisible insert
If you want to add the bmp to the first page and still want to preserve the second page, then
But note, I do not think PDF supports zip compress. When I review the results, the compression is unknown.
Code: Select all
convert Teliway_tournee_3_2336026.pdf[0] -density 144 SIG_91371134021020520001_20160930085609.bmp \
-geometry 240x136+860+270 -composite Teliway_tournee_3_2336026.pdf[1] -compress Zip resultat.pdf
Re: Invisible insert
Hi,
Thank you very much.
I will use your solution.
Best regards,
Laurent Lyaudet
Thank you very much.
I will use your solution.
Best regards,
Laurent Lyaudet