These options determine how PMView saves OS/2 Icons.
OS/2 2.0 This will save the icon with a header that is compatible with OS/2 version 2.x and above.
OS/2 1.2 This will save the file with a header that is compatible with OS/2 version 1.x and above.
Size This lets you select the size of the icon. Icons saved by PMView are always square (see the note below), so the value you set here will represent both the width and height. For instance "32" means that a"32x32" icon will be generated.
Color Type This lets you select the color depth and palette type used for the icon.
2 colors, Black & White This will save the icon in black & white.
16 colors, Adaptive palette This will save the icon with 16 colors. This will select the best colors for the icon.
1 colors, System palette This will save the icon with16 colors. The icon will only use colors in OS/2's system palette.
256 colors, Adaptive palette This will save the icon with 256 colors. This will select the best colors for the icon.
256 colors, System palette This will save the icon with 256 colors. The icon will only use colors in OS/2's system palette.
Deep color (24-bit) This will save the icon with full color information.
Transparent Fill If set, the unused area of the icon will be made transparent. If not set, the unused area will be black.
Use RLE/Huffman1D Encoding If set, PMView will RLE or Huffman1D encode the icon data. The icon mask data will be Huffman1D encoded. This alone will typically reduce the size of the file by almost 25%. Further compression is achieved if the image contains large areas of the same color. Note that not all programs are able to cope with Huffman1D encoded data and thus cannot read icons saved with this option.
NOTE: ICONEDIT, the icon editor shipped with OS/2 Warp is not able to handle all variants of OS/2 icons. Any and all of the following options should be avoided if compatibility with ICONEDIT is desired:
Icon Format: OS/2 1.2 (ICONEDIT will refuse to load the icon)
Color Type: 256 colors, Adaptive palette (ICONEDIT will crash)
Use RLE/Huffman1D Encoding: On (ICONEDIT will display garbage)
NOTE: PMView always saves square icons. An icon can be non-square, for instance 20x32, but this is not useful in practice. One example of this is that the OS/2Workplace shell will stretch the icon to 32x32 (or 40x40) and thus distort the aspect ratio if the icon is not square. However, if you find any use for non-square icons and would like PMView to be able to generate such icons, please let us know and we will add this capability.
· The OS/2 Icon Format