I need to make an edge of an image transparent and I've found the whole parameters that I have to give so that it works fine on my Windows machine.
When I move the whole command to the webserver (Unix) however, it doesn't work.
Code: Select all
/usr/local/bin/convert -alpha set -compose DstOut (-size 347x303 xc:none -draw 'polygon 0,0 0,55 55,0' -write mpr:triangle +delete) (mpr:triangle) -gravity northwest -composite ../files/REX_MEDIA[1] ../files/cornerBigLeft/curoff3.png
Code: Select all
/usr/local/bin/convert ../files/REX_MEDIA[1] ../files/cornerBigLeft/curoff3.png
Code: Select all
-alpha set -compose DstOut (-size 347x303 xc:none -draw 'polygon 0,0 0,55 55,0' -write mpr:triangle +delete) (mpr:triangle) -gravity northwest -composite
Cheers and thanks,
~naut