(Solved) Transparent Image
Posted: 2011-02-22T13:01:31-07:00
I have been struggling with this for some time now.
convert -background white -size 165x70 label:'this is a test' label_size_fit.jpeg
composite -compose Copy label_size_fit.jpeg -background white -gravity East -geometry +200-100 -density 350 test.pdf output.pdf
This all looks great except that there is a dark grey background on my label_size_fit.jpeg only after it composes onto the pdf?
Have tried multiple files.. jpeg, .png, .svg (that one showed up completely black) for my label_size_fit.jpeg
How can I make this a transparent .png, and be sure it will stay transparent when composing with a pdf?
convert -background white -size 165x70 label:'this is a test' label_size_fit.jpeg
composite -compose Copy label_size_fit.jpeg -background white -gravity East -geometry +200-100 -density 350 test.pdf output.pdf
This all looks great except that there is a dark grey background on my label_size_fit.jpeg only after it composes onto the pdf?
Have tried multiple files.. jpeg, .png, .svg (that one showed up completely black) for my label_size_fit.jpeg
How can I make this a transparent .png, and be sure it will stay transparent when composing with a pdf?