🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.avs
Article #212

24 bit animation ==> 8 bit animation

#212
From: Richard P. Signell
Date: Thu, 15 Oct 1992 18:38
30 lines
1474 bytes
I have a nice little AVS animation which generates a bunch 
of 24 bit images, and I'd like to stuff these into a 8-bit
HDF file so that colleagues without AVS and 24-bit displays
could look at the animation with NCSA's ximage or xdataslice.

The problem: 
From the 24-bit animation images, I need corresponding 
8-bit animation images and a single 8-bit colormap.

One approach, which seems a bit brute force, is to save each
AVS image in a separate file, convert one of the frames to 8-bit 
using the PBM+ tool  

"ppmquant 256 avs.image.001 > cmap", 

then use that frame as a colormap for all the other frames

"ppmquant -map cmap avs.image.001 > ppm.image.001"

then finally convert the ppm images to hdf.

This all seems pretty crude.  I'm wondering if someone has a 
better idea?

Thanks,
--
Rich Signell               |  rsignell@crusty.er.usgs.gov
U.S. Geological Survey     |  (508) 457-2229  |  FAX (508) 457-2310
Quissett Campus            |  "George promised to be good... 
Woods Hole, MA  02543      |  ... but it is easy for little monkeys to forget."
Technical Details
Message-ID: <1992Oct15.183854.2894@netnews.whoi.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!ncar!netnews.whoi.edu!news

Show Full Headers
Complete Article Headers
Newsgroups: comp.graphics.avs
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!ncar!netnews.whoi.edu!news
From: rsignell@crusty.er.usgs.gov (Richard P. Signell)
Subject: 24 bit animation ==> 8 bit animation
Message-ID: <1992Oct15.183854.2894@netnews.whoi.edu>
Sender: news@netnews.whoi.edu
Organization: U.S. Geological Survey, Woods Hole, MA
Date: Thu, 15 Oct 92 18:38:54 GMT
Lines: 30