Can anyone tell me how this command run ???

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
salahuddinonline
Posts: 24
Joined: 2013-07-14T03:36:12-07:00
Authentication code: 6789

Can anyone tell me how this command run ???

Post 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
User avatar
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 ???

Post 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.
Post Reply