### 23.4.2 Specifying formats of replacement graphics

If you have replaced some referenced graphics with others, and your graphics are in several formats, such as mostly GIF plus some JPEG and some PNG, you can do the following:

1. Identify the “main” format by specifying its file extension; for example:

[Graphics]

GraphSuffix=gif

2. Specify file extensions for the other formats as exceptions:

[GraphSuffix]

; old suffix = new suffix, overrides [Graphics]GraphSuffix

; jpg=jpg leaves all .jpgs alone even if GraphSuffix=gif

; wmf=png .wmfs are made into .pngs using a third-party tool

jpg=jpg

png=png

3. Specify file names with extensions for any individual exceptions (see §31.3.1.2 Substituting graphics files for HTML):

[GraphFiles]

newlogo.jpg=newlogo.gif

| 23.4.1 Using referenced graphics without converting |  | 23.4.3 Choosing a graphics conversion method |