ImportImage

DESCRIPTION

Imports images of various formats and outputs them as an explorer image lattice.

INPUTS

WIDGETS

Port: filename
Type: Text
The name of the image file to be read.

Port: type
Type: Text
format of the image to be read (only used when "type" option is explicit)

Currently ImportImage knows about the following formats....

Format Description ------- ---------------------------------------------- gif CompuServe Graphics Image Format File hdf Hierarchical Data Format File icon Sun Icon and Cursor file iff Sun TAAC Image File Format mpnt Apple Macintosh MacPaint file pbm Portable Bit Map file pcx ZSoft IBM PC Paintbrush file pgm Portable Grayscale Map file pic PIXAR PICture file pict Apple Macintosh QuickDraw/PICT file pix Alias PIXel image file pnm Portable aNy Map file ppm Portable Pixel Map file ras Sun RASterfile rgb Silicon Graphics RGB image file rla Wavefront raster image file rle Utah Runlength-encoded image file rpbm Raw Portable Bit Map file rpgm Raw Portable Grayscale Map file rpnm Raw Portable aNy Map file rppm Raw Portable Pixel Map file synu Synu image file tiff Tagged Image File x Stardent AVS X image file xbm X11 Bit Map file xwd X Window Dump image file

Port: file typing
Type: Option Menu
Menu Item: auto
Menu Item: explicit

OUTPUTS

Port: out_image
Type: Lattice
Constraints: 2-D.
3-vector.
byte.
uniform.

PROBLEMS

Currently only reads the first image in a possibly multi-image file. Always outputs a 3 channel file, ie no alpha.

SEE ALSO

DisplayImg
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996