Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

31 Working with graphics > 31.5 Controlling image appearance in RTF output > 31.5.1 Rescaling bitmap graphics


31.5.1 Rescaling bitmap graphics

You can rescale bitmaps using the [Graphics] BitmapDPI setting, either all at once or individually. A setting of BitmapDPI=0 preserves the scaling used in FrameMaker; this is usually best when producing RTF for use in Word.

If you are concerned with screenshots for WinHelp, though, any text in the bitmap is likely to be unreadable if you scale it down at all. Instead, use BitmapDPI=96 to make the screenshot appear at its full original size. If that is too big, you must make a different version of the bitmap for WinHelp, rescaling it with a graphics program that actually “resamples” it, instead of just dropping rows and columns the way WinHelp does when it rescales.

Normally, Mif2Go sets the StretchMode, which specifies what method is to be used later when other applications rescale the .wmf bitmaps, according to the type of bitmap present. For color bitmaps, Mif2Go specifies mode 3, which means to drop the eliminated lines without altering their neighbors. For monochrome, Mif2Go specifies mode 2, which preserves black detail by ORing the bits in the adjacent lines; you can also set mode 1, which keeps white detail by ANDing the bits.

[Graphics]

; StretchMode for bitmaps =

; 0 (default),

; 1 (black),

; 2 (white),

; 3 (color)

StretchMode=0

When Mif2Go wraps external WMFs in generated WMFs, so that they are scaled correctly, the fill properties for the objects drawn are determined by the brush in effect. If everything turns black, it may be that the maker of the original WMF assumed a different default brush from the one Mif2Go assumes. You can try other possible starting values for the brush (White and Hollow) to see if that improves the appearance of the graphic:

[Graphics]

; DefBrushType = Black (default), White, or Hollow

DefBrushType=Black



31 Working with graphics > 31.5 Controlling image appearance in RTF output > 31.5.1 Rescaling bitmap graphics