Removing Background in Png

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
Brother Gabriel-Marie
Posts: 286
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Removing Background in Png

Post by Brother Gabriel-Marie »

Very often I have to take a black and white image and change the white background to transparent so it will place correctly in my publications.

I wish XnView had a way I could magic-wand an area of an image and make it transparent.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Removing Background in Png

Post by helmut »

Perhaps a way to make the background of your PNG image transparent:
1. Open your image
2. Convert the image into a colour mapped image with e.g. 16 colours (Image > Convert to Colours...", 16 colours)
3. Open colour palette of the image with "Image > Edit Palette..." menu
4. Choose the background colour and check "Transparency". Confirm your change with "OK"
5. Save your image under a different name in a format that supports colour palettes (e.g. PNG, GIF)
--> Your image should have a transparent background, now.

Please note that in the steps above I've used the terms of XnView Classic. I'll replace these with the terms used in XnView MP tonight.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Removing Background in Png

Post by XnTriq »

Post Reply