how to change the png file background to transparent

4

I used Paintbrush drawing an icon, if it is on a colored background, it will display a white block shown as below.

Image without transparent background

I prefer to change the icon background from white color to transparent color:

Image as it should look like

Do I need a special tool?

user36089

Posted 2010-06-09T08:50:01.647

Reputation: 253

Answers

1

Personally, I use GIMP for all my graphics editing needs. It makes it trivial to make a png with transparency. If you do a lot of graphics, or even just playing around it is worth the download. Also, it's free.

kainosnous

Posted 2010-06-09T08:50:01.647

Reputation: 2 388

Thanks. But I am useing mac os x 10.5.8, there is no version of GIMP for it. – user36089 – 2010-06-09T11:42:48.207

@user36089: No, there area packages available: http://gimp.lisanet.de/Website/Download.html

– Bobby – 2010-06-09T13:23:50.773

6

You can actually do that using Paintbrush (Mac)

Select a foreground color - any color will do as our intention is to remove the background.

Select foreground color in Paintbrush

Next, drag the opacity slider from 100% to 0%. You should see your selected color turn into a grayish tone.

Remove Opacity to 0%

Now click the fill icon and click anywhere in the background.

Fill the background with transparent color

You should see the background is now transparent.

Background of image is now transparent

hanxue

Posted 2010-06-09T08:50:01.647

Reputation: 2 354

had to fill multiple times - no shadows. still more helpful though – noɥʇʎԀʎzɐɹƆ – 2016-08-15T15:00:09.507

4

No installation needed - use Preview.

  1. Open the image in preview
  2. Click the "toolcase" icon in the toolbar
  3. Select the "magic wand" tool
  4. Click and drag to set the "radius" until it selects what you want to get rid of
  5. Press Backspace
  6. Rinse and repeat for other areas as you would with fill

This is a late answer, but this is much simpler than any of the other answers. For the googlers!

noɥʇʎԀʎzɐɹƆ

Posted 2010-06-09T08:50:01.647

Reputation: 205