
////////////////////////////////////////////////////////////
// ShinobiSoft Bitmap/Icon Converter v1.0
// Copyright  2005 ShinobiSoft
// All rights reserved
////////////////////////////////////////////////////////////

  This utility can convert bitmaps to icons of either 16x16,
32x32, or 64x64 pixels. in retrospect, we can also convert
icons to bitmaps. Since some .ico files contain multiple
images, the image index for and icon may also be specified
at the command line. If an image index is not specified, then
bmptoico.exe will default to the first image, index 0.

  bmptoico.exe has a very simple straight foreward command
line syntax, which is as follows:

  bmptoico.exe [inputFile] [outputFile] [NewIconSize or IconIndex]

If [outputFile] is omitted, the output file name will be derived
from the input file name. If [NewIconSize] is omitted, the default
size is 32x32. If [IconIndex] is omitted, the default index is 0.


Examples::

  bmptoico.exe some.bmp some.ico 32
This will create a 32x32 icon from 'some.bmp' and save the file
as 'some.ico'.

  bmptoico.exe some.ico some.bmp 2
This will copy the image located at index '2' from the icon
specified by 'some.ico' and save the image to 'some.bmp'.

  bmptoico.exe some.bmp
This will create an icon named 'some.ico', derived from 'some.bmp',
and save the icon as 'some.ico' at 32x32 pixels.

