🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.explorer
Article #148

Conditionals in dscribe templates? (was: dscribe and images)

#148
From: Martin J. Duerst
Date: Fri, 13 Nov 1992 15:45
18 lines
1674 bytes
In article <13447@ecs.soton.ac.uk>, mnn@ecs.soton.ac.uk (Mufeed Na'eem Ni'man) writes:
> I have images in a BIORAD format(.PIC) and i am trying to import them
> into explorer with the aid of dscribe, is that possible or am i
> wasting my time. Is it possible to import any image format into
> explorer or does it only take special formats(TIFF)? If it does take
> any formats where can i find the information about that?
> 
dscribe has no problems with varible-length data with complicated structures.
So it is not difficult to read in images using dscribe if you know your
image format and it has a fixed structure.
However, until now I didn't find any possibility to make a dscribe template
depend on some condition, i.e. some flag in the imput data (e.g. if the
flag is A, then the data is row major 2D data with 4 data values per point
in binary format, but if the flag (at the beginning of the file) is B,
then the data is 3D ascii data, or something in that style).
Are conditionals/switches possible in dscribe, or is there introduction
planned?
Technical Details
Message-ID: <1992Nov13.154543.652@ifi.unizh.ch>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.tek.com!uw-beaver!cs.ubc.ca!utcsri!torn!cs.utexas.edu!zaphod.mps.ohio-state.edu!caen!batcomputer!ghost.dsi.unimi.it!univ-lyon1.fr!chx400!josef!mduerst
References: <13447@ecs.soton.ac.uk>

Show Full Headers
Complete Article Headers
Newsgroups: comp.graphics.explorer
Path: arc1-ca.pugleaf.net!sparky!uunet!news.tek.com!uw-beaver!cs.ubc.ca!utcsri!torn!cs.utexas.edu!zaphod.mps.ohio-state.edu!caen!batcomputer!ghost.dsi.unimi.it!univ-lyon1.fr!chx400!josef!mduerst
From: mduerst@ifi.unizh.ch (Martin J. Duerst)
Subject: Conditionals in dscribe templates? (was: dscribe and images)
Message-ID: <1992Nov13.154543.652@ifi.unizh.ch>
Keywords: explorer
Sender: mduerst@ifi.unizh.ch (Martin J. Duerst)
Organization: University of Zurich, Department of Computer Science
References:  <13447@ecs.soton.ac.uk>
Date: Fri, 13 Nov 92 15:45:43 GMT
Lines: 18