Go Back   The Giraffe Boards > Main > Just the Facts
Register Blogs GB FAQ Forum Rules Community Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 3rd August 2009, 06:09 PM
sailor sailor is offline
Charter Member
 
Join Date: Mar 2009
Posts: 581
Windows Icon files thumbnails

I have a bunch of .ico files and it used to be that the icon of each file was the icon contained in the file. Which makes sense. But something happened and now that does not work. How do I restore it so that each file's icon is the icon in the file?
Reply With Quote
  #2  
Old 3rd August 2009, 06:12 PM
Mbossa's Avatar
Mbossa Mbossa is offline
z
 
Join Date: Mar 2009
Location: Te Upoko o te Ika a Maui
Posts: 4,131
Blog Entries: 4
Which version of Windows are we talking?
Reply With Quote
  #3  
Old 4th August 2009, 04:17 AM
sailor sailor is offline
Charter Member
 
Join Date: Mar 2009
Posts: 581
Windows XP Pro SP3.
Reply With Quote
  #4  
Old 4th August 2009, 06:09 AM
sailor sailor is offline
Charter Member
 
Join Date: Mar 2009
Posts: 581
This problem is only in one machine; the rest do not have it. So I am looking around in the registry to see if I can locate any suspicious difference but cannot find anything. All have the same entry:
Quote:
HKEY_CLASSES_ROOT\icofile\DefaultIcon @="%1"
which seems to point at the file itself but it is not working in one machine.
Reply With Quote
  #5  
Old 4th August 2009, 06:44 AM
sailor sailor is offline
Charter Member
 
Join Date: Mar 2009
Posts: 581
After some fumbling around in the registry it is now working again. I am not entirely sure what change I made which fixed it.

I know how to make a .ico file with a single icon graphic but does anyone know more about the structure of icon files, how to have several icons in the same file, how to have alternative icons in different sizes, etc?
Reply With Quote
  #6  
Old 4th August 2009, 07:25 AM
blank's Avatar
blank blank is offline
Charter Member
 
Join Date: Apr 2009
Location: Dublin, Ireland
Posts: 4,193
Quote:
Originally Posted by sailor View Post
After some fumbling around in the registry it is now working again. I am not entirely sure what change I made which fixed it.

I know how to make a .ico file with a single icon graphic but does anyone know more about the structure of icon files, how to have several icons in the same file, how to have alternative icons in different sizes, etc?
They are basically a BMP file with a slightly different header (though windows doesn't seem to take any notice of the header). http://en.wikipedia.org/wiki/BMP_file_format
Reply With Quote
  #7  
Old 4th August 2009, 08:32 AM
sailor sailor is offline
Charter Member
 
Join Date: Mar 2009
Posts: 581
Quote:
Originally Posted by blank View Post
They are basically a BMP file with a slightly different header (though windows doesn't seem to take any notice of the header). http://en.wikipedia.org/wiki/BMP_file_format
I believe that is only true to such a very limited extent that one may say it is not really true.

If you take a BMP file and change the extension to ICO then Windows will be able to use it as an icon. Maybe originally that was all there was to it but now it is quite different.

As far as I know BMP files can only hold one image while ICO can hold several images, plus alpha transparency channels plus ICO also recognises PNG format, not only BMP.

I have no problem making basic single image icons using Irfanview but I do not know how to make a single ico file hold several different icons. Also, Windows sometimes does not shrink the icons well and they look bad. I know some programs have multi-sized icons so that the 32x32 is used on the desktop, the 16x16 is used in windows explorer detailed view, etc. This way the 16x16 is not merely the larger one shrunk by windows but is a separate icon included in the same ico file as the larger one.


That is what I'd like to do.
Reply With Quote
Reply

Giraffiti
how computer work?, icon


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 11:34 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
User Alert System provided by Advanced User Tagging v3.0.7 (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Management has discontinued messages until further notice.