## 23.2 Understanding graphics processing for HTML

When you use Mif2Go “out of the box” to generate HTML, without setting graphics options, the graphics from your document might look quite different from the way they look when you “Save as” HTML directly from FrameMaker. Differences can appear in any of the following:

Image size

Image alignment

Image format

Image size

Screen captures might be unreadable with “out-of-the-box” options. By default, Mif2Go retains the image size specified in your FrameMaker document. However, when you “Save as” HTML, FrameMaker produces the graphics unscaled. To do the same with Mif2Go, set the following option:

[Graphics]

GraphScale = No

This setting determines whether Mif2Go writes width and height attributes; when GraphScale=No those attributes are omitted from HTML output.

See §23.9.2 Adjusting image size for selected graphics.

Note: When you shrink a screen shot at all, you immediately lose text readability. Shrinking a bitmap means using fewer pixels. Most text has parts that are one pixel wide. When you shrink text, some of those parts disappear entirely. If you do not shrink the image, you get the effect of a “huge” graphic. Your choice. This is a very well known publications problem. It is not a Mif2Go problem.

Image alignment

By default, Mif2Go retains the alignment used in your FrameMaker document. However, when you “Save as” HTML, FrameMaker produces HTML with images all left aligned. To mimic FrameMaker HTML image alignment behavior with Mif2Go, set the following option:

[GraphAlign]

* = left

See §23.6.2 Aligning anchored graphics.

Image format

Graphics formats that work best in FrameMaker for printed documents generally are not those that work well on the Web. If some of the graphics in your FrameMaker document are not in an appropriate format, or are not alone in their frames, you will have to convert them.

If a graphics file imported into or exported from your document is in a format other than JPEG, GIF, or PNG, and you do not specify how it should be converted or mapped, Mif2Go plunks the name of the graphics file into the HTML output file and lets the browser sort it out later. In some cases, this might work. For example, Microsoft Internet Explorer can display BMP and WMF graphics with no problem.

| 23.1 Starting with default graphics options |  | 23.3 Locating graphics files for HTML |