EPOC   SDK Home Glossary Indexes Previous Next Up

Convert bitmaps into EPOC format — bmconv.exe


Contents


Purpose

The bmconv 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.


Command line syntax


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

or:


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

or:


bmconv /v epoc-file

or


bmconv command-file

For information about how to interpret the syntax, see BNF grammars.

Arguments

/r

Causes bmconv 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.

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. Previously, the only options were /1 and /4; options now are: /1, /2, /4, /8, /c4, /c8, /c12, /c16 or /c24.

/u

Caused bmconv 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 commands separated by spaces or new-lines. Note that C++ style // comments may be included in command files.

Compatibility

EPOC .mbm files containing only 1, 2 and 4 bits per pixel resolution gray-scale bitmaps are fully compatible with all EPOC releases. Files containing bitmaps with a greater resolution than 4bbp are not supported by releases prior to EPOC release 5.

Notes
EPOC       SDK Home Glossary Indexes Previous Next Up