Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

23 Including graphics in HTML > 23.4 Specifying options for HTML graphics > 23.4.2 Specifying formats of replacement graphics


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 Including graphics in HTML > 23.4 Specifying options for HTML graphics > 23.4.2 Specifying formats of replacement graphics