Page 2 of 2

Re: composite one image over lots of PSD's

Posted: 2018-09-13T11:57:27-07:00
by flieckster
Thank you for the help Fred. in the code below, it does remove the meta. and also removed the Clipping paths from the PSD's. is there an easy way to retain that info?

Code: Select all

list=`ls | egrep ".psd"`
for img in $list; do
echo "$img"
magick $img \
\( -clone 0 -alpha off -fill black -colorize 75% \) \
\( -clone 0 -alpha transparent -gravity center -pointsize 900 \
-fill red -annotate +0+20 "Ultrafina" \) \
\( -clone 1--1 -flatten \) \
-swap 0,-1 +delete \
/Users/flieckb/Desktop/Out/$img
done


Re: composite one image over lots of PSD's

Posted: 2018-09-13T12:23:29-07:00
by fmw42
Not that I am aware. You can export the clipping path, but I do not know that you can add that back with ImageMagick. I think the best way would be to use EXIFTOOL to extract what you want from the input psd and then add it back into the output psd. See https://www.sno.phy.queensu.ca/~phil/exiftool/

But perhaps someone else on the forum can comment further.

If it is not possible, that would be a good feature to add to ImageMagick in the future.

Re: composite one image over lots of PSD's

Posted: 2018-09-13T13:57:21-07:00
by flieckster
Well it was worth the shot, but this has officially gone beyond the "is the juice worth the squeeze" test. Thank you for all the great help.