Command: wdisplay

Syntax

{ <window> = } wdisplay { <file> }

Description

Define a window for image file display or external use.

Parameters

Switches

Notes

The wdisplay command can display all image types supported by Fire, see Image File Support.

For external usage display windows, the window handle to be passed to the process is the window element window.canvas.

If the title of the window is undefined, the image file name (if any) is used.

Images too large for the display will be scaled down appropriately so that they fit.

Examples

Display an image file in a new window.

wdisplay myfile.ras

Display a image file in an existing window.

my_win = wdisplay myfile.ras

Display part of an image file at twice its normal resolution.

wdisplay domjolly.jpg, -clip=<10,10,300,200>, -res=2

Create a blank window for external use

my_win = wdisplay -dim=<500,500>

See Also

Commands:

embed, rasdraw, rasdump, window, wopen

Identifiers:

win# (window), window_numbers (numeric)

Structures:

window (display)