CLI composite confusion: works in 6.1.7, broke in 6.3.3

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
megabulk

CLI composite confusion: works in 6.1.7, broke in 6.3.3

Post 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
megabulk

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

Post 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
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

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

Post 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
megabulk

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

Post by megabulk »

Thanks, Pete! That did the trick.
Post Reply