Removing background from .GIF image


Original Image:

enter image description here

My try:

enter image description here

This is the image. I tried using Polygonal Lasso Tool, but the edges don't appear to be OK.

Is there more precise way to remove the background and leave the letters and the logo icon on a transparent background?

6/9/2017 7:35:00 AM

Accepted Answer

The issue you are faced here is a limitation of the GIF transparency which is limited to a single color from the palette. Semi-transparent colors are not possible.

enter image description here
"Transparency" of the original GIF file

To obtain an image with a transparent background but with keeping the shadows we can take the following steps (below done with GIMP but any other image processing application including Photoshop should be able to do this)

  1. Convert the image from indexed to RGB
  2. Remove the transparency alpha channel

    enter image description here
    Alpha channel removed and replaced by white

  3. Replace white with an alpha channel

    enter image description here
    White replaced by transparency

  4. Save in an image format supporting semi-transparent colors (here .png)

    enter image description here

This will then lead to the desired transparency as seen below:

enter image description here
Transparent image on coloured background

Note that in the case here where the Image had grey scales not only in the shadows but also in the letters all these shades of grey will also have some transparency from the white alpha channel. This may in some cases not be wanted. We then will have to recreate the image.

7/9/2013 8:13:00 PM