Page 1 of 1

CLI composite confusion: works in 6.1.7, broke in 6.3.3

Posted: 2007-06-21T17:31:57-07:00
by megabulk
Hey all,
I'm having a problem with this code:

Code: Select all

convert rose: -composite netscape: -compose Multiply -gravity center -composite -quality 70 output.jpg
This works fine under Convert version 6.1.7
Image

but under version 6.3.3 I get an error: convert: missing an image filename `output.jpg'. What am I doing wrong?

I'm somewhat new to ImageMagick, so go easy on me!

Thanks in advance,
jonathan

Re: CLI composite confusion: works in 6.1.7, broke in 6.3.3

Posted: 2007-06-24T01:34:15-07:00
by megabulk
Anybody? I tried upgrading IM to version 6.3.4-10 and still get the same error message. Does anyone know where I can find an older version to test? I'm using version 6.1.7 on OS X, and that works fine, but using 6.3.3 or 6.3.4-10 on the RedHat server is giving me this error.

Thanks,
jonathan

Re: CLI composite confusion: works in 6.1.7, broke in 6.3.3

Posted: 2007-06-24T08:11:47-07:00
by el_supremo
I think your original command is wrong but 6.1.7 must have ignored it.
The -composite argument requires that you have already read in two images but you only read in rose: when you have the first -composite.
Try this instead:

Code: Select all

convert rose: netscape: -compose Multiply -gravity center -composite -quality 70 output.jpg
Pete

Re: CLI composite confusion: works in 6.1.7, broke in 6.3.3

Posted: 2007-06-24T11:04:43-07:00
by megabulk
Thanks, Pete! That did the trick.