An error that I can't find ...
Posted: 2013-11-20T09:11:09-07:00
Hi there,
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.
This command here works fine on the server tho (conversion to png works fine, i also tried to crop and that worked aswell):
So I suspect the error is sitting somewhere in here:
Can someone give me a hint maybe? Or at least confirm to me that I'm crazy ... because that's how I'm starting to feel!
Cheers and thanks,
~naut
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