home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / CVTICO.ZIP / CVTICO.DOC < prev    next >
Text File  |  1990-10-11  |  1KB  |  26 lines

  1. This program will convert windows 3.0 icons to OS/2 format.  It is my 
  2. first working version and 'just grew', so it isn't very pretty.  It also
  3. isn't very robust.  Error checking is nonexistant.  Although it has the
  4. beginnings of the code needed to convert .ico files that contain multiple
  5. icons, it doesn't do it yet.  This is partly because I haven't found any
  6. windows icon files that contain multiple icons.  It also won't work with 
  7. those dll and exe files that contain gobs of icons.
  8.  
  9. Having said that, what will it do?  It will convert .ICO files that contain
  10. a single icon.  That accounts for all of the .ICO files that I have seen 
  11. in the MSWIN forum.  The resulting OS/2 icon will have the same resolution
  12. as the original icon.  Generally, this is 32 x 32.  If you bring up the 
  13. icon in ICONEDIT, it will inform you that the icon did not have a 
  14. device independent form and that one has been created for you.  I have 
  15. been deleting the weird windows format then and saving the result.  This
  16. isn't necessary though to use the icon.
  17.  
  18. With a bit of luck I'll figure out what to do with the XOR mask and fix 
  19. that up in a week or two.
  20.  
  21. Anyway, I'm tossing this out for whoever wants to use it.  If you give it
  22. to someone else, please give them the source code as well.  The usual 
  23. disclaimers apply:  This program isn't guarenteed to do anything at all.
  24.  
  25. I can be reached on Compu$erve as Kevin Nickerson [70020,633].
  26.