How to make a transparent image

Updated: 12/31/2020 by Computer Hope

The following sections explain how to create transparent images in Photoshop and GIMP. Before continuing, it should be noted that transparent images must be saved as a GIF (Graphics Interchange Format) and not as a JPEG (Joint Photographic Experts Group). Also, if the program you're using also supports both GIF 87a and GIF 89a, you'll need to save the file as a GIF 89a.

Adobe Photoshop

    Photoshop magic eraser
  1. Open Adobe Photoshop and create a new file or open an existing one. If the file is new, make sure the mode is anything but bitmap.
  2. Select the Magic Eraser, as shown in the image.
  3. Once this tool is selected, click the portion of the image you want to make transparent. For example, click the background if you want the background of the image to be transparent.
Tip

If you're noticing that the edges of the non-transparent portion of the image are not clean, in the Magic Eraser Options, increase the Tolerance.

  1. After you've got the transparent background how you want it, click Image > Mode, and select Indexed Color. Change any settings you may want in the Indexed Color window and click OK.
  2. Finally, save the image as a .gif file.

GIMP

  1. Open GIMP (GNU Image Manipulation Program) and create a new file or open an existing one.
  2. Select the "Selects regions by color" tool or press Shift+O. Once selected, click the portion of the image you want to be transparent. For example, click the white background of an image.
Tip

If you don't want borders around the non-transparent portions of the image, increase the Threshold by dragging the slider to the right.

  1. Once the area you want to make transparent is selected, click Layer > Transparency, then select Add Alpha Channel.
  2. Click Edit and select Clear or press Ctrl+K. The selected portion should now appear as a checkered background indicating it is transparent.
  3. After you've got the transparent background how you want it, click Image > Mode > Indexed. In the Indexed Color conversion box, change any settings you want and click OK.
  4. Finally, export the image as a .gif file.

Microsoft Paint (MSPaint)

The Microsoft Paint program that is included with Microsoft Windows does not support transparent images, even if you're working with a GIF image that already has transparent properties. To create or modify images with a transparent background, we suggest trying one of the other two programs.