AnsweredAssumed Answered

Converting tif image white background to transparent png file format using image magick

Question asked by venkat2022 on Sep 26, 2017
Latest reply on Sep 27, 2017 by venkat2022

I am trying to convert white color backgrounded tif image type to transparent background png image type using below image magick command in alfresco 5.1.

 

> magick convert source_file.tif -fuzz 20% -transparent white converted_file.png

 

But the above command is not working for all images. For many of images, the foreground color also changing to transparent partially .and for some images, the background is still showing white after conversion also.

 

please help me of finding a  generic imagemagick command which will change only background color without disturbing the image colour .

 

Note: I tried with multiple fuzz values like 1% to 20% but not at all helping me.

Attachments

Outcomes