I've done this recently. I used three different ways depending on the source file:
- winico92.zip to convert the icons. This does a reasonable job of the conversion, but, there were a lot more resolutions in the Windows icon files than it understands. Most of these weren't converted properly, and, had to open the icons in the IconEditor and remove them.
- Using PMView to save the icon as an OS/2 icon. Unfortunately, it only saves one resolution at a time. So, I had to open the Windows Icon, view each resolution and save it to a file. Then I opened them in the IconEditor and and used the clipboard to paste them into one icon file.
- Use PMView to view the Windows icon. Then I used the clipboard to copy resolution I wanted into the a new icon in the IconEditor.
Unfortunately, none of these methods are perfect. The first one is the quickest (winico can convert a whole directory of icons), and if the icon resolutions match the OS/2 ones, it does a good job. I used the other two methods when the icon formats didn't match as well. Or, when I was using a source other than a Windows icon. The sources for the icons I was trying to convert had Windows and Linux icons. I took from both depending on what I needed.
One important thing is that I had to edit the icons after any of the conversion. None of the conversions where perfect. I had to fiddle with the results a lot to get rid of jagged edges and other defects.
---
David