Can anyone tell me how this command run ???
Posted: 2013-07-16T22:12:34-07:00
I am a unix user and want this command to run can any body help me out on this ???
convert ${IMGPATH}/${productid}.jpg \( +clone -fx 'p{0,0}' \) -compose Difference -composite -modulate 100,0 -alpha off ${PNGPATH}/difference.png
convert ${PNGPATH}/difference.png -bordercolor black -border 0.25 -threshold 5.75% -blur 0x2 ${PNGPATH}/boolean.png
convert ${IMGPATH}/${productid}.jpg -bordercolor white -border 0 ${PNGPATH}/boolean.png -alpha off -compose CopyOpacity -composite ${PNGPATH}/${productid}.png
rm -f ${PNGPATH}/boolean.png ${PNGPATH}/difference.png
convert ${IMGPATH}/${productid}.jpg \( +clone -fx 'p{0,0}' \) -compose Difference -composite -modulate 100,0 -alpha off ${PNGPATH}/difference.png
convert ${PNGPATH}/difference.png -bordercolor black -border 0.25 -threshold 5.75% -blur 0x2 ${PNGPATH}/boolean.png
convert ${IMGPATH}/${productid}.jpg -bordercolor white -border 0 ${PNGPATH}/boolean.png -alpha off -compose CopyOpacity -composite ${PNGPATH}/${productid}.png
rm -f ${PNGPATH}/boolean.png ${PNGPATH}/difference.png