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
Can anyone tell me how this command run ???
-
- Posts: 24
- Joined: 2013-07-14T03:36:12-07:00
- Authentication code: 6789
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Can anyone tell me how this command run ???
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.