[plug] Imagemagick - composite command

Carl Gherardi carl.gherardi at gmail.com
Tue Jan 23 17:45:30 WST 2007


Hey All,

Simple stuff - trying to create a vcd/dvd slideshow using the scripts
from tovid.sourceforge.net

But I keep producing black mpegs.

I tracked it down to the composite command, which takes a photo and a
black image and composites them together to a ppm format, which in
later steps is converted to mpeg. The ppm file being produced is black

#Create black png.
convert -size 704x576 xc:black makeslides.10716.black.png
# Harper is a dog
composite -resize 704x576 -gravity center Harper1.jpg
makeslides.10716.black.png -depth 8 Harper1.ppm

After rtfm ing for a while i'm convinced the two commands are right,
and the args are in the correct order. A google hasn't turned up any
similar scenarios.

Its not the ppm viewer xxd shows all 0's

I'm thinking that composite is using something from X which broke when
I switched to using beryl and xgl.

Can someone in plugland try running the above against a jpeg and let
me know if it works on their system.

You are supposed to get a scaled jpeg on a black background as the result.

TIA

Carl G



More information about the plug mailing list