라벨이 icon인 게시물 표시

OS/2 tricks: Convert PNGs to ICOs

Nowadays, most of icons are made in PNG format. However, OS/2 does not support PNG icons. If you want to use PNG icons on OS/2, you should convert them to OS/2 ICO format. If you have PMView Pro , it can convert PNG icons to OS/2 ICO icons. However, it does not support transparent background. Its result icons have a black background instead. And it does not support merge multiple PNGs to one ICO icon. Other than PMView Pro , there are no tools to convert PNGs to OS/2 ICO icons directly. However, there are indirect ways. Many tools support to convert PNGs to Windows ICO icons. And there are tools to convert Windows ICO icons to OS/2 ICO icons. As a result, you can convert PNGs to OS/2 icons with two steps. First, out of converting tools from PNGs to Windows icons, the most convenient tool is a web site, http://icoconvert.com/ . Here, you can convert 1 PNG to 1 icon, and merge multiple-PNGs to 1 icon. When converting PNGs, the sizes you need are 16x16, 32x32. If 20x20 and 40x40 are...

OS/2 tricks: Icon corruption

Sometimes, a default icon of a program which is shown on WPS is corrupted even though an original .ico file is normal. Generally, this problem occurs when compressing resources with 24-bits and/or 32-bits icons. On OS/2, the executables such as .exe and .dll can be compressed with /EXEPACK option when linking with IBM linkers such as link386.exe and ilink.exe , or with lxlite.exe after linking. Out of these, lxlite.exe may corrupt a default icon, and maybe other icons as well if it compress the executables containing resources. In addition, a resource compiler, rc has -x option to compress resources, too. This may also corrupts icons. The best way to fix this icon corruption problem is to fix a resource compiler and lxlite. However this is not easy. Then, which ways are possible ? The simplest way is to compress neither the executables nor resources. However, we will get much bigger executables. More reasonable way is to compress the executables only. For example, L...