Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to know how to draw transparent image in Microsoft Paint in Windows 7.

I searched it on Google a lot but couldn't find anything for Microsoft Paint in Windows 7.

E.g. I want to draw a star for my application. But I want that when I display it on black background then there should be no rectangular image with a white background and a star on it. It must be a proper star.

share|improve this question

migrated from stackoverflow.com Nov 2 '12 at 15:50

This question came from our site for professional and enthusiast programmers.

Try Paint.NET for size. I tried GimpShop before, but did not like it. Paint.NET is to MS Paint what Notepad++ is to Notepad :)

To change an image to have a transparent background:

  1. Install Paint.NET
  2. Download AlphaMask plugin
  3. Extract AlphaMask.dll to \Paint.NET\Effects (note you will likely need to unblock the file)
  4. Open Paint.NET
  5. Open your file
  6. Copy the content you want to make have a transparent background (ctrl+a, ctrl+c to select all and copy)
  7. Effects Menu > Alpha Mask...
  8. check Invert Mask, check Mix Alpha, leave checked Paste from Clipboard
  9. Click OK
  10. File Menu > Save as, save as type PNG (*.png)
  11. Defaults are fine, OK one last time

source

share|improve this answer
1  
just for clarity to the asker here, GIMP and GimpShop are two different things – Josh Bibb Nov 2 '12 at 15:39
    
This should be useful – student May 20 at 14:01
    
@student yes, in simple cases magic wand can be used, but if you have for instance image with shades of black and white and want to replace white component with transparent, so that it becomes just black with variable transparency, then magic wand cannot help you. – Dialecticus May 20 at 14:32

Rather than deal with Paint, you should try GIMP.

http://www.gimp.org

It allows you to set any color you want to transparent so you can just fill the background of the image with some radical green or pink or something that doesnt show up anywhere in your star and then set that color to transparent.

Since youre dealing with image manipulation for applications I would also recommend it because it just generally has more functions and better support than Paint, and its free.

This documentation shows you the menu, and what you'll want to do is click 'color to alpha' where you can enter the color code (get it with the eyedrop tool) that you want to send to alpha (transparent)

http://docs.gimp.org/en/gimp-layer-transparency-menu.html

share|improve this answer
1  
:Since i want simple images for my applications and also i am not familiar with gimp ,i want it to do with ms paint as it will be simpler. Method to do the same in ms paint will be appreciated. – Naveen Nov 2 '12 at 15:25
4  
According to microsoft's support forum, Paint in windows 7 does not support transparency. They actually recommend themselves using a 3rd party software, and of those, I'm sure you'll find that gimp is not very difficult to use, and has a great userbase which = great support. answers.microsoft.com/en-us/windows/forum/… – Josh Bibb Nov 2 '12 at 15:31
    
If the OP is a noob... gimp is wildly more powerful but also considerably different to use than MS paint. – whitey04 May 19 '15 at 0:01

Solved this by copying mspaint.exe to xppaint.exe on an xp computer. Then copied xppaint to a Windows 7 computer. When transparency is required, use xppaint. Many features in Win 7's Paint are better, but not this one.

share|improve this answer
    
Not sure how this covers Win7 mspaint - If your suggesting an alternative can please make note of it in your answer – 50-3 Sep 10 '13 at 22:06
    
Great idea! But there is a bit more to it, as shown here - askvg.com/… – ipso Dec 14 '13 at 22:11

In Windows8 I just found a Home->Select->TransparentSelection which's tooltip says "Make the background colour in the selection transparent or opaque".

I have yet to find out if it does what it believe it says though. (my first attempt failed but possibly because pebkac)

enter image description here

share|improve this answer
1  
I don't think this is related to creating transparent images. From the Window 8 Paint Documentation..... Choose Solid Background or Transparent Background when you copy and paste part of a picture using the Free-Form Select or the Select tool. When you use the Solid Background option, the background color is included in your selection when you paste it somewhere else in the picture. When you use the Transparent Background option, the background color is not included in the selection, so any areas using that color are transparent and allow the rest of the picture to appear in its place. – grantnz Apr 26 at 10:45

The Windows XP version of MS Paint supports transparency. And users of Windows 7 Professional, Enterprise, or Ultimate can use the XP Mode feature of Windows 7 to run Windows XP in a window, run the old Paint there, and set the transparency of an image file:

enter image description here

You can also run individual XP Mode applications directly from your Windows 7 Start menu, i.e., without explicitly launching XP Mode first.

If you haven't enabled XP Mode on your Windows 7 machine and wish to do so, you can get it free using the Microsoft instructions here. Do note the security advice on that page, remembering XP is now no longer supported.

share|improve this answer

This is what I do when I want to set the background colour of a picture to be transparent

0 - Open Word and paste the picture

1 - Format / Color / Set Transparent Color and select the background colour

2 - Right click on the image and pick "Save as Picture" and save as PNG

share|improve this answer

You must log in to answer this question.

protected by Community Oct 10 '13 at 21:44

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .