Click here to Skip to main content
Licence 
First Posted 23 Feb 2005
Views 48,814
Bookmarked 43 times

Icon Ejector - The Icon Conversion Tool

By | 8 Mar 2005 | Article
Extract icon instances from icon files to both icon or bitmap format .

Sample Image - IconEjector.jpg

IMPORTANT NOTICE

Important Notice : You have to confirm if you Press the Wipe output folder button.

Introduction

On the internet you'll find very large icon libraries. Including them as resources might substantially increase your exe's size due to the fact that one ICO actually contains at least one icon having different sizes.

This application will allow you to extract all ICOs to separate ICO or BMP files and then use only those that you need in your application.

About the application

Sample Image - IconEjector.jpg

Demo output of application.

I do not take credit for the code. It's mostly a remake of Microsoft's IconPro which you'll find attached.

It contains all the functions you need for managing ICO files.

How to use?

Place the ICO files you wish to process in a folder and create an empty output folder. Then select the ICO folder and the output folder. The tooltip will teach you how to edit the file naming pattern. If you extract to bitmap format, make sure you pick a background color.

This software works great with TomKat's ToolBar Generator.

Tech details

The process is very simple. This ICO files have headers that point you to each part of the file . You'll find the structures inside the application.

Actually no technical details are really required, because I don't think many will actually download the source code. If you get the demo and the icon pack, you'll be more than happy.

More info can be found on MSDN and by actually reading and understanding the source code.

History

  • 24.02.2005

    First release.

  • 25.02.2005

    You can now wipe output folder automatically. You can also process subfolders with icons. Output structure will be kept as original.Interface doesn't freeze anymore and process can be aborted (Using VB DoEvents like function).

  • 09.03.2005

    Added confirmation for wiping output folder.

Finally

Any feedback and ratings are most appreciated. For commercial use contact me.

Be cool.

PS: For cool icons you might consider visiting iconfactory.com or deviantart.com.

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

About the Author

IBone©

Web Developer

Romania Romania

Member

My details are disclosed on need to know basis.
You don't need to know !

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralMy vote of 2 PinmemberVEMS7:52 23 Feb '10  
General:omg: All files were deleted... BE CAREFUL... PinsussSadhanandhan0:16 9 Mar '05  
GeneralRe: :omg: All files were deleted... BE CAREFUL... PinsussIBone©4:32 9 Mar '05  
GeneralRe: :omg: All files were deleted... BE CAREFUL... PinmemberSadhanandh17:45 9 Mar '05  
GeneralRe: :omg: All files were deleted... BE CAREFUL... PinsussIBone©19:07 9 Mar '05  
GeneralRe: :omg: All files were deleted... BE CAREFUL... Pinmembermurugan_gs19:39 9 Mar '05  
GeneralRe: :omg: All files were deleted... BE CAREFUL... PinmemberDarth_Sulfur10:39 1 Sep '05  
GeneralRe: :omg: All files were deleted... BE CAREFUL... PinmemberVEMS7:53 23 Feb '10  
GeneralNeed Help Pinmembernemoo7:48 8 Mar '05  
GeneralRe: Need Help [modified] PinmemberMaxzz9:43 25 Mar '05  
Generalthanks!!!!!!!!!!!!!!!! PinmemberP.Pronk10:01 3 Mar '05  
GeneralFiles could not be downloaded PinmemberEarl Allen13:24 2 Mar '05  
GeneralRe: Files could not be downloaded PinsussIBone©6:44 3 Mar '05  
GeneralLink problem Pinmemberfifi17:34 23 Feb '05  
GeneralRe: Link problem PinsussIBone©21:08 23 Feb '05  

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.

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120517.1 | Last Updated 8 Mar 2005
Article Copyright 2005 by IBone©
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid