Page 1 of 1

Hi everyone, i hope you can help

Posted: 2019-03-02T00:36:36-07:00
by badlogicgame
Hi everyone,
I want to combine serveral commands to create one Image to get the rigth output I have to compose different images and colorize them In a specific order, I have image a, b, c, d and e and I want to create one image like that:

a.png b.png -composite -gravity center -channel RGB -evaluate multiply 0.9 step1.png

c.png d.png -composite -gravity center -channel RGB -evaluate multiply 0.9 step2.png

step1.png step2.png e.png -composite -gravity center result.png

but in one command like that

((a.png b.png -composite -gravity center -channel RGB -evaluate multiply 0.9) (c.png d.png -composite -gravity center -channel RGB -evaluate multiply 0.9) -composite -gravity center) e.png -composite -gravity center result.png

but with brackets it doesn't work. Is there a way to archieve this or is there another strategy for Example Layers which can be adjust for this purpose?

Re: Hi everyone, i hope you can help

Posted: 2019-03-02T03:07:33-07:00
by snibgo
badlogicgame wrote:... but with brackets it doesn't work.
What happens? Do you get a bad result, or an error message, or what?

What version of IM, on what platform? What are your exact commands? I expect they start with "convert" or "magick".

You should have a space both before and after every parenthesis ( ) .

After each "-channel RGB", you should have "+channel" to restore the normal processing.