Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

23 Including graphics in HTML > 23.9 Scaling images for HTML > 23.9.4 Specifying image resolution for exported graphics


23.9.4 Specifying image resolution for exported graphics

When you direct Mif2Go to use FrameMaker export filters to generate graphics files from the illustrations in your document, you can specify the DPI of those graphics:

[Setup]

; GraphicExportDPI = number (from 50 to 1200, default 96)

For compound graphics that include referenced images, specify the same DPI used to import the referenced images into FrameMaker. For example, if images were imported into FrameMaker at 144 DPI, set the export option accordingly:

[Setup]

GraphicExportDPI = 144

To override the GraphicExportDPI value for individual graphics (or groups of graphics):

[GraphDPI]

; Graphic ID = DPI to use when generating,

;  overrides [Setup]GraphicExportDPI

This is something you are not likely to want to do routinely. The default DPI value (96, or whatever was used to import any images involved) usually is best. Changing the GraphicExportDPI setting (or changing an individual [GraphDPI] setting) affects a displayed HTML page only if browser scaling is turned off for the images involved.

An alternative is to define a custom marker named GraphDpi (see §29.2 Adding custom marker types). Insert a GraphDPI marker, whose content is the DPI value you want, anywhere before the anchor of the anchored frame containing the graphic; the marker applies to the next anchor in the flow. This marker overrides any configuration-file DPI setting for that graphic.

See also:

§23.9.3 Adjusting image resolution for referenced graphics

§31.2.5.5 Specifying graphic output format and DPI.



23 Including graphics in HTML > 23.9 Scaling images for HTML > 23.9.4 Specifying image resolution for exported graphics