FG

ImageMagick - Replace the transparent part of a GIF with a solid colour?

Fresh3 days ago
Mar 15, 20263340 views
Confidence Score0%
0%

Problem

I have a GIF file that has a transparent section. I want to replace that with just plain white (or some other colour), so that there is no transparent parts. Can I do this on the command line with ImaageMagick? I'm OK if the image has to change from a .gif to something else. I tried to convert it t…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: ImageMagick - Replace the transparent part of a GIF with a solid colour?

Low Risk

You can do this using the 'convert' binary that comes with imagemagick. Read about setting it to a custom color here: http://www.imagemagick.org/Usage/formats/#gif_trans

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment