Imagemagick psd with layers resize

Post Reply
BartDenolf
Member
Posts: 31
Joined: Thu Aug 04, 2016 4:06 pm

Imagemagick psd with layers resize

Post 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
BartDenolf
Member
Posts: 31
Joined: Thu Aug 04, 2016 4:06 pm

Re: Imagemagick psd with layers resize

Post by BartDenolf »

if I use

Code: Select all

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

Bart
Post Reply