Page 1 of 1

Combining Commands

Posted: 2018-06-07T20:31:04-07:00
by dbudnick
Hi Everyone,

I am new to ImageMagck, I have a few commands that I am using to modify images how would I put these commands together?

convert 1.JPG -resize 847x546 1.JPG
convert 1.JPG -chop 0x25 1.JPG
convert t.png 1.JPG -geometry +228+248 -composite 1.pdf

Thanks in advance!

- David 8)

Re: Combining Commands

Posted: 2018-06-07T21:40:25-07:00
by snibgo

Code: Select all

convert t.png ( 1.JPG -resize 847x546 -chop 0x25 ) -geometry +228+248 -composite 1.pdf 
But if you use bash, you need to escape the parentheses: \( \)

Re: Combining Commands

Posted: 2018-06-08T22:44:56-07:00
by dbudnick
Thanks for the help!