We are using ImageMagick-6.8.9-4-Q16 on RHEL Linux machine. Our objective is to turn the background of our image to transparent. For this we have tried the following command.
Code: Select all
convert original.jpg -background transparent transformed.pngWhen we try to use
Code: Select all
convert original.jpg -background RGB(0,0,0) transformed.pngCode: Select all
syntax error near unexpected token `('Code: Select all
convert original.jpg -transparent white transformed.pngRequest you to help find a solution for changing any type of background in the image to transparent without affecting any of the main image content using imagemagick.
Thanks.