Command that will work on images that has Clipping path and is Transparent
Posted: 2018-02-14T21:09:07-07:00
Hi guys,
Is there a command that works for both images that has Clipping path and Transparent images? I want to convert them to JPG file and make the background white.
This are the commands that I am using on each but would like to make a single command that works for both of them.
TRANSPARENT COMMAND
CLIPPING PATH COMMAND
Files - one has clipping path the other is transparent
https://drive.google.com/file/d/1Lyiapo ... sp=sharing
https://drive.google.com/file/d/1ncdLIt ... sp=sharing
Version: ImageMagick 7.0.1-3 Q16 x64 2016-05-11
Is there a command that works for both images that has Clipping path and Transparent images? I want to convert them to JPG file and make the background white.
This are the commands that I am using on each but would like to make a single command that works for both of them.
TRANSPARENT COMMAND
Code: Select all
convert INPUT.psd[1] -colorspace rgb -background white -flatten OUTPUT.jpg
Code: Select all
convert INPUT.psd[0] -alpha transparent -clip -alpha opaque -background white -flatten OUTPUT.jpg
https://drive.google.com/file/d/1Lyiapo ... sp=sharing
https://drive.google.com/file/d/1ncdLIt ... sp=sharing
Version: ImageMagick 7.0.1-3 Q16 x64 2016-05-11