Sorry for the question, but various searches pulled up no useful information. I have a handle to an Icon. The Icon is friendly. I want to keep this write this Icon out to a file for future reference. How do I read/write this sort of thing?
lackluster,
You may have a look at this program I made. I thing it may answer your question.
Guy
You may have a look at this program I made. I thing it may answer your question.
Guy
Guy,
I tried running your prog, but everytime I try to save the Icon, it crashes. I'm using win2k Pro, perhaps it is not designed for my OS. I haven't really had time to go through the code, or see where the crash occurs, but this is indeed what I'm looking for. This is a great guideline for me to go with. Thanks .
:alright:
I tried running your prog, but everytime I try to save the Icon, it crashes. I'm using win2k Pro, perhaps it is not designed for my OS. I haven't really had time to go through the code, or see where the crash occurs, but this is indeed what I'm looking for. This is a great guideline for me to go with. Thanks .
:alright:
You could try my HexEdit on my web site, it will
extract icons, cursors, and bitmaps and save them
if you wish.
Ewayne
extract icons, cursors, and bitmaps and save them
if you wish.
Ewayne
try GeticonInfo
it retreives all data from the handle
you can save the data into an .ico file.
it retreives all data from the handle
you can save the data into an .ico file.
Thanks Ewayne, beaster.
I did indeed have a look @ your HexEdit prog, and it does what I'm looking for very well. I am having some trouble following it though. I think mostly because I have little experiance with Images & in addition to that, I'm still a newbie here :). Can anybody point me to a decent article on Icon headers & writing the body of the Icons. Or try to explain it to me? Thanks.
I did indeed have a look @ your HexEdit prog, and it does what I'm looking for very well. I am having some trouble following it though. I think mostly because I have little experiance with Images & in addition to that, I'm still a newbie here :). Can anybody point me to a decent article on Icon headers & writing the body of the Icons. Or try to explain it to me? Thanks.
Hi lackluster,
When I wrote the program I knew what I was doing
and I was going to have the capibility to save
the three image types to a different type and
write a tut on Icon, Cursor, and Bitmap file
types, but I got side tracked and never got back
to it. Now when I look at the code I have a hard
time following it too. :(
Ewayne
When I wrote the program I knew what I was doing
and I was going to have the capibility to save
the three image types to a different type and
write a tut on Icon, Cursor, and Bitmap file
types, but I got side tracked and never got back
to it. Now when I look at the code I have a hard
time following it too. :(
Ewayne
A good source for file formats is www.wotsit.org.
You find a description of the icon format here:
http://www.wotsit.org/search.asp?page=2&s=windows
You find a description of the icon format here:
http://www.wotsit.org/search.asp?page=2&s=windows
A very handy article indeed!