###### 40.2.2.1.1 Substituting files with different extensions

The simplest way to substitute graphics in a different format is as follows:

- give all the replacement graphics the same base names as the originals
- put all the replacement graphics in the project directory.

Then you can simply map the old extension to the new extension, as follows:

    [Graphics]
    FileNames=Map
    FilePaths=None

    [GraphFiles]
    oldext=newext

Do not include a leading dot when you map extensions. For example:

    [GraphFiles]
    jpg=bmp

However, if some of your replacement graphics have different base names or are in other directories, mapping old to new files becomes more complex. See §40.2.2.1.2 Substituting files with different names or locations.

Previous Topic: 40.2.2.1 Substituting graphics files for RTF

Next Topic: 40.2.2.1.2 Substituting files with different names or locations

Parent Topic: 40.2.2.1 Substituting graphics files for RTF

Sibling Topics:

40.2.2.1.2 Substituting files with different names or locations

40.2.2.1.3 Understanding replacement examples

Table of Contents • Index