Click here to Skip to main content
12,996,975 members (125,516 online)
Click here to Skip to main content
Add your own
alternative version


32 bookmarked
Posted 4 Dec 2002

Icon Proof Imagelist for .NET

, 17 Dec 2002
Rate this:
Please Sign up or sign in to vote.
This is an icon specific ImageList that handles icon sizes properly and enables easy themed icon creation, using effects and layers like Photoshop.

Sample Image - IconProof.gif


If you've ever been doing heavy work with icons and ImageLists, you'll find that the ImageList converts them to bitmaps and by default only pulls out the default size, it's hard to get at other sizes (e.g. if your desktop is displaying 32x32, the ImageList will return 32x32).

This class allows you to store and retrieve icons in multiple sizes, no more saving the icons as singles in different sizes.


Icon Sizes

The class allows you retrieve all icon sizes from an icon file, not just the default one.


The class has the following functions for manipulating icons.

  1. Greyscale
  2. Bleach (Faded effect)
  3. Translucence (Make icons translucent)
  4. Add Drop shadows


When I'm doing icons for applications I always use a theme and stick to it. I start with a topic icon and then overlay subject icons over the top. For example, a document (Topic), with a floppy disc (Action) for a save icon. This normally means making a lot of icons.

With the class you can create these overlays dynamically, so if you need to overlay the shortcut arrow over any icon you can. It also supports processing sets so you can draw background icon, draw foreground with drop shadow and use the template just changing the icons to use.


Sorry if this article is a bit sparse, this is my first thing on CodeProject. The demo shows exactly how to use the class and the power that it makes available. If you can solve any of the three issues or have more ideas then please E-mail [] me ;-).


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Web Developer
United Kingdom United Kingdom
Now working for a small web company. Pay is terrible but its an easy life and stress free Smile | :) Writing a kick ass CMS.

You may also be interested in...

Comments and Discussions

GeneralLove the idea..but Pin
Imogen7-Mar-06 4:07
memberImogen7-Mar-06 4:07 
GeneralCall after a return.. Pin
Ricalawaba22-Mar-04 15:54
memberRicalawaba22-Mar-04 15:54 
GeneralRe: Call after a return.. Pin
FruitBatInShades23-Mar-04 2:23
memberFruitBatInShades23-Mar-04 2:23 
GeneralImpending changes Pin
LeeDaviesVBSource12-Sep-03 2:47
memberLeeDaviesVBSource12-Sep-03 2:47 
GeneralGreyScale and Translucence don't work in overlay Pin
LeeDaviesVBSource5-Dec-02 12:38
memberLeeDaviesVBSource5-Dec-02 12:38 
GeneralBleach Error on Icon Pin
LeeDaviesVBSource5-Dec-02 12:35
memberLeeDaviesVBSource5-Dec-02 12:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170622.1 | Last Updated 18 Dec 2002
Article Copyright 2002 by FruitBatInShades
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid