Preserving transparency when converting PDFs
Posted: 2010-10-04T14:53:43-07:00
Hello,
I am trying to preserve transparency within my PDF during the convert process. My original PDF has a transparent background, when I resize and convert to another file, the resized area within the new PDF is transparent, however, the transparent areas within the original PDF becomes white.
The command I am using to do the conversion/resize is:
convert -size 1366x736 -resize "683x368>" -density 300 -background none -gravity center -extent 683x368 sample2.pdf sample_resized.pdf
where sample2.pdf is the original file, and sample_resized.pdf is the resized file. I have also tried converting the original pdf to a png (changed the -sDEVICE to pngalpha in the delegates.xml file) and then converted from png to pdf, but that didn't work.
The original file is posted here: http://app01.brandconstructionkit.com/tmp/sample2.pdf
Any suggestions would be greatly appreciated.
Thank You.
I am trying to preserve transparency within my PDF during the convert process. My original PDF has a transparent background, when I resize and convert to another file, the resized area within the new PDF is transparent, however, the transparent areas within the original PDF becomes white.
The command I am using to do the conversion/resize is:
convert -size 1366x736 -resize "683x368>" -density 300 -background none -gravity center -extent 683x368 sample2.pdf sample_resized.pdf
where sample2.pdf is the original file, and sample_resized.pdf is the resized file. I have also tried converting the original pdf to a png (changed the -sDEVICE to pngalpha in the delegates.xml file) and then converted from png to pdf, but that didn't work.
The original file is posted here: http://app01.brandconstructionkit.com/tmp/sample2.pdf
Any suggestions would be greatly appreciated.
Thank You.