Page 1 of 1

I get 2 images outputed?

Posted: 2019-06-07T05:33:34-07:00
by mcquiff
This is the line I am entering in Terminal on the mac

/usr/local/bin/magick '/file/path/SH76BW_20190605130947.psd' -resize 1600x2400 '/file/path/PNG/SH76BW_20190605130947.png'

In the folder I have 2 images one the correct size the other is cropped image,



How can avoid this?

Re: I get 2 images outputed?

Posted: 2019-06-07T05:48:04-07:00
by snibgo
Your question isn't about Magick++, so I'm moving it to the more general Users forum.

I suppose your PSD file contains two images, so they are both resized and written to PNG files. To read just the first image, add the suffix [0] to the input filename.

Re: I get 2 images outputed?

Posted: 2019-06-07T09:16:06-07:00
by fmw42
If still an issue, post your PSD file to some free hosting service and put the URL here. The issue is like that you have background transparency and that shows up as another layer and so another output. But try snibgo's suggestion.