Page 1 of 1

Imagemagick psd with layers resize

Posted: Wed Aug 23, 2017 3:06 pm
by BartDenolf
Hello,

If I do

Code: Select all

convert -scale x300 test.psd[1--10] test-b.psd
in terminal it does exactly what it should do. And that is scale my layered psd to a height of 300px. But if I want to do the same in Switch and give the following as argument

Code: Select all

-scale x300 "%1[1--10]" "%2"
I get a cropped photo instead of a scaled one

Is there a way to resolve this?

Thanks
Bart

Re: Imagemagick psd with layers resize

Posted: Wed Aug 23, 2017 4:25 pm
by BartDenolf
if I use

Code: Select all

-scale x300 "%1[0--10]" "%2"
it works

Bart