Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


Bitmap Converter syntax: bmconv.exe

[Top]


Purpose

The Bitmap Converter tool is used to convert bitmaps between Symbian OS and Windows bitmap formats. Symbian OS bitmaps (mbm) may be produced as either a font store file or a ROM image file, which does not use any RAM when being accessed. The conversion process specifies the number of bits per pixel for the converted bitmaps and whether they should be colour or grey-scale.

The program can also split Symbian OS multi-bitmap files into component bitmaps, and then convert the individual files to Microsoft Windows bitmap format.

[Top]


Changes since Symbian OS v5

Note the following changes since v5:

[Top]


Command-line syntax

bmconv [/r] [/n] [/hheader-file] [/q] epoc-file [/bpp]bmp-file_1 [... [/bpp]bmp-file_n]

or:

bmconv [-r] [-n] [-q] epoc-file -mepoc-file2

or:

bmconv /u epoc-file bmp-file_1 [... bmp-file_n]

or:

bmconv -v epoc-file

or

bmconv command-file


Arguments

/r or -r

Causes the Bitmap Converter to generate a ROM image file. The default target is a file store bitmap.

/n or -n

Disables the automatic compression of file store bitmaps.

/h or -h header-file

Generates a header file that may be used in C++ code. header-file may include a path.

/q or -q

Specifies quiet mode; only errors are reported.

/m or -m epoc-file2

An existing multi-bitmap file to be used as a source. It can be used with the /r argument to produce a ROM image file from a normal compressed file store.

epoc-file

The filename of the Symbian OS multi-bitmap file, which may include a path.

bmp-file_n

The filename of the nth Windows bitmap file, which may include a path.

/bpp or -bpp

Specifies the number of bits per pixel to be used for each converted bitmap (bmp-file) and whether the converted bitmap should be colour or gray-scale. The default is 2 bits per pixel. The options are: /1, /2, /4, /8, /c4, /c8, /c12, /c16 or /c24.

/u or -u

Caused the Bitmap Converter to convert from Symbian OS to Windows bitmap format. By default the conversion is from Windows to Symbian OS format.

/v or -v

Prints summary information about the bitmaps in epoc-file

command-file

A file containing the command line, with arguments and commands separated by spaces or new-lines. Note that C++ style // comments may be included in command files.


Notes: