Page 1 of 1

Can anyone tell me how this command run ???

Posted: 2013-07-16T22:12:34-07:00
by salahuddinonline
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

Re: Can anyone tell me how this command run ???

Posted: 2013-07-16T22:32:58-07:00
by fmw42
Each command line can be copied and pasted in a terminal window in Unix to run it, so long as you have defined the indicated path variables correctly for your system or replaced those variable with appropriate paths to your images.