Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Bitmap Converter syntax: bmconv.exe


Purpose

The Bitmap Converter tool is used to convert bitmaps between EPOC and Windows bitmap formats. EPOC 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 EPOC multi-bitmap files into component bitmaps, and then convert the individual files to Microsoft Windows bitmap format.

[Top]


Changes since EPOC R5

Note the following changes since EPOC R5:

[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

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

/n

Disables the automatic compression of file store bitmaps.

/hheader-file

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

/q

Specifies quiet mode — only errors are reported.

/mepoc-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 EPOC 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

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

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

/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: