Windows .BMP files


Contents Summary

Introduction
PostScript printer
:::: TYPES OF POSTSCRIPT
:::: CONVERTING POSTSCRIPT FILES
:::: CHANGING THE LAYOUT OF POSTSCRIPT FILES
:::: SPLITTING POSTSCRIPT FILES
:::: OTHER CHANGES TO POSTSCRIPT FILES
:::: CHANGING APPEARANCE
:::: CONVERTING IMAGES TO POSTSCRIPT
PaintJet printer
LaserJet printer
Windows .BMP files
GIF Files for World Wide Web and Other Applications
DigImage Raw Files
DigImage Compressed Files
Saving images for later conversion by DigiFile
Index


5 Windows .BMP files

The /FW switch is used to indicate that DigiFile is to convert the image to a Windows .BMP image file. The relevant command line is

C:..> DIGIFILE image_file /FW output_file [/O output_lut]
        [/X width] [/Y height] [/W iw0 iw1 jw0 jw1]
        [/NB bit_planes] [/D [buffer]]

The first thing to note is that the output_file must be specified for this variant. If it is not, an error message will be generated. The other switches have the following effects:

SwitchEffect
/O output_lut This switch specifies the output look up table to be used for Windows .BMP file. If the switch is not specified, then DigiFile will prompt the user to select an appropriate table.
/X width If present, this switch specifies the width of the .BMP file in pixels. If this switch is not present but /Y is, then the width will be chosen automatically to maintain the aspect ratio. If neither /X nor /Y are present, then the width and height are chosen such that the image will fit into a 800x600 pixel window, maintaining the aspect ratio.
/Y height If present, this switch specifies the height of the .BMP file in pixels. If this switch is not present but /X is, then the height will be chosen automatically to maintain the aspect ratio. If neither /X or /Y are present, then the width and height are chosen such that the image will fit into a 800x600 pixel window, maintaining the aspect ratio.
/W iw0 iw1 jw0 jw1 This switch may be used to reduce the size of the source window to be converted to the .BMP file. If not present, then the entire source image will be used. If the source image file itself were saved as a window, then the top left corner of the image is loaded to coordinates 0,0 (not the original position of the window) and so the new sub-window coordinates should be relative to this.
/NB bit_planes This switch sets the number of bit planes (4 or 8) to be included in the .BMP file. If not specified, then DigiFile will default to all eight bit planes.
/D [buffer] If the /D switch is included by itself, then the image, once loaded, will be displayed on the computer monitor. If buffer is also included, then the image will be displayed on the frame grabber monitor using the specified buffer number. Note that this last option is the only one for which DigiFile requires the frame grabber card to be installed.

Goto next document (GIFFiles)


Links

DIGIFILE

Index

OTHER

DigImage documentation page
DigImage home page
Stuart Dalziel's home page


Stuart Dalziel, last page update: 21 June 1999