Click here to Skip to main content
15,885,980 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Previously, I make icons solely with the icon editor in VS. But the annoying thing is that parts of the icon pixels that I do not us , when set to white does not appear as transparent on desktop(when installed) nor window title bar.Please how do I make the unused region of my icon transparent. I see the icon of other application I use do not have this problem. On used regions are transparent on the desk top.

The new way I make icons now is to design one with COREL DRAW and that copy and paste in the icon editor. But the unfortunate thing is that the editor changes any color that does not exist on the color palete(or color selection box or color selection template)into the closest in the existing palette. How do I expand the available color in the colour palette to a much larger amount of colour options so that my coor draw image is not distorted by the editor.

How can one make an icon that has transparent background?
Posted

I don't remember exactly which was the colour to be selected to get the transparent background (there where two tricky colors there).

But you can always use the eraser tool to get the transparent background.

Good luck!
 
Share this answer
 
This is a good idea to add resources to the project via "Add existing file" and to add application icon from a separate file. Main thing here is the convenience for maintenance and no risk to screw up something not related to the separate icon or bitmap file.

For icons, I would advice using the freeware editor IcoFX:
http://en.wikipedia.org/wiki/IcoFX[^],
http://icofx.ro/[^].

Of course it supports transparency, but also a lot more, in particular, good quality re-sampling for different icon sizes; and you can manually improve the results. (As you probably know, and icon should contain several images for a set of standard icon sizes; if you fail to do it, it will still be shown correctly, but re-sampling will be done be during the run time of your application, with questionable quality.)

You can also edit the main image or part of it using some editor of your choice, and then finally edit or package it using IcoFX. I suggest you try two open-source products: GIMP (pixel graphics) and Inkscape (vector, based on SVG, import/export from/to many formats, including (importantly!) XAML):
http://en.wikipedia.org/wiki/GIMP[^],
http://www.gimp.org/[^];
http://en.wikipedia.org/wiki/Inkscape[^],
http://inkscape.org/[^].

Good luck,
—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900