Click here to Skip to main content
Click here to Skip to main content

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

Introduction

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.

Features

Icon Sizes

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

Effects

The class has the following functions for manipulating icons.

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

Overlays

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.

Comments

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 [LeeDavies@bigfoot.com] me Wink | ;-) .

License

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

Share

About the Author

FruitBatInShades
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.

Comments and Discussions

 
GeneralLove the idea..but PinmemberImogen7-Mar-06 4:07 
GeneralCall after a return.. PinmemberRicalawaba22-Mar-04 15:54 
GeneralRe: Call after a return.. PinmemberFruitBatInShades23-Mar-04 2:23 
GeneralImpending changes PinmemberLeeDaviesVBSource12-Sep-03 2:47 
GeneralGreyScale and Translucence don't work in overlay PinmemberLeeDaviesVBSource5-Dec-02 12:38 
GeneralBleach Error on Icon PinmemberLeeDaviesVBSource5-Dec-02 12:35 

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

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

| Advertise | Privacy | Mobile
Web02 | 2.8.140814.1 | Last Updated 18 Dec 2002
Article Copyright 2002 by FruitBatInShades
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid