🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.explorer
Article #266

NEW MODULE - ImportImage

#266
From: Gordon Cameron
Date: Mon, 11 Jan 1993 19:29
91 lines
3641 bytes

--------------------------
An updated version of the ImportImage module is now available via. anon
ftp from ftp.epcc.ed.ac.uk (and soon from swedishchef.lerc.nasa.gov)
in [/pub]/explorer/modules/ImportImage

Thanks to the author Drew Whitehouse.
<extract from Drew's mail message.....>

          I'm just uploading a new version ImportImage that should fix
	a few problems (color indexed files like GIF weren't being handled
	properly). Also I've linked the executable with the latest version of
	the SDSC image library.

<end-extract>

	-Gordon C.
--------------------------


From the .help file....

   NAME
        ImportImage

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

   INPUTS

      file typing -- Parameter

   WIDGETS

      filename -- Text
         The name of the image file to be read.

      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
         

   OUTPUTS

      out_image -- Lattice
         (2-D, 3-vector, byte, uniform).
         <Describe the purpose of the port here>

   KNOWN 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

-- 
e|p Gordon Cameron                      |     Phone:+44 31 650 5024(Rm. 2259)
c|c Edinburgh Parallel Computing Centre |     Email: gordonc@epcc.ed.ac.uk
    oOo The University of Edinburgh oOo |    'So far so good, so now so what'
Technical Details
Message-ID: <C0pFGM.IL5@dcs.ed.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!edcastle!dcs.ed.ac.uk!epcc.ed.ac.uk!gordonc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!bnr.co.uk!uknet!edcastle!dcs.ed.ac.uk!epcc.ed.ac.uk!gordonc
From: gordonc@epcc.ed.ac.uk (Gordon Cameron)
Newsgroups: comp.graphics.explorer
Subject: NEW MODULE - ImportImage
Message-ID: <C0pFGM.IL5@dcs.ed.ac.uk>
Date: 11 Jan 93 19:29:09 GMT
Sender: cnews@dcs.ed.ac.uk (UseNet News Admin)
Organization: Edinburgh Parallel Computing Centre
Lines: 91