How to replace white background color with transparent of an image in ImageMagick?
问题 I have an image in .jpg format with white background color . I want to remove the white background color to transparent in Imagemagick . I tried many ways but still the white background can not be removed. Can some one help me to solve this. 回答1: You cannot have transparent background colors in your JPEGs. The JPEG file format doesn't support transparency. If you need transparent background, you need to convert the JPEG to either PNG (high quality, filesize possibly larger than JPEG) or GIF