You can convert your images through either the graphical interface or the command line.
Converting Your Images Using the
Graphical Interface
Complete the following steps to
convert your images to the appropriate platform:
| Group | In this mode only one name
field will be displayed and all of the layers,
which you select, will be saved to one image.
Each layer will have a check mark option box
beside it; simply de-select, or select, those
layers that you wish to be included in your final
converted image. (The default is for all of the
layers, specified in Image Preselection,
to be selected). Type the pathname and name for
converted image in the Save to
field provided, or select an existing pathname
and name using the Select Filename
option, under File, from the
action bar menu.
|
| Items | This mode allows you to save
each layer to an individual file. You must
specify a different name, in the Save to field,
for each layer that you wish to convert to a
separate file. If you do not specify a name for
the layer it will not be converted. Type the
pathname and name that you want the converted
layer to be called in the individual Save to
fields provided, or select existing pathnames and
names using the Select Filename option, under
File, from the action bar menu.
|
Converting Your Images Using the Command Line
Processor
For conversions from the command line
processor, use the command as follows:
ibmpcnv (w | o) [d] [h | ?] filein fileout
where:
| -w | Save as Windows resource |
| -o | Save as OS/2 2.x or higher resource |
| -d | Convert directory contents |
| -h | Display command line help |
| -? | Display command line help |
| filein | Input file (if -d, use input directory) |
| fileout | Output file (if -d, use output directory) |
Notes:
Example of Command Line Conversions
To convert a Windows icon, called
river.ico, to an OS/2 format, you would type the following:
ibmpcnv -o river.ico os2river.ico
To convert an OS/2 directory of icons (in a directory called os2icos), to a Windows format (to be saved in a directory called winicos), you would type the following:
ibmpcnv -w -d c:\os2icos c:\winicos
![]()
![]()
Resource Conversion
Utility - An Overview