Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

XDUMP

  • Last UpdatedOct 27, 2023
  • 1 minute read

This driver outputs the plot to a specially formatted bitmap image file, such as that produced by the X-Windows utility, xwd and displayed by xwud.

Description

This driver produces a bitmap image file. This is always a single plane image that represents the plot in monochrome, with the graphics from all pens drawn in the foreground colour.

This form of output file can be used to compare whether two plots look the same, regardless of overdrawing and the order in which the graphical elements are drawn.

Output

Files output by this driver are in binary format and consist of a header and data sections. See the X-Windows and xwd utility for references to its format definition.

The drawing is scaled to a size that fills the bitmap. It is automatically rotated by 90 degrees if this makes better use of the available area.

Options

The syntax for each option is as follows (individual options must be separated by commas):

BItmap width height

Defines the size of the bitmap image in pixels. Sizes should be greater than 100 x 100. The default size is 1000 x 800, and the upper size limit is 9600 x 5000.

Size width height

Defines the minimum plot size in millimeters that is scaled to fill the bitmap image. Increasing the size of a number of plots to a common value means that their pixel scaling is also the same. This is important if the bitmap files are to be manipulated by other programs.

Example

plot xdump view.pl view.px "BITMAP 200 200"

Related Links
TitleResults for “How to create a CRG?”Also Available in