Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!sun-barr!oliveb!tymix!tardis!jms From: jms@tardis.Tymnet.COM (Joe Smith) Newsgroups: comp.sys.amiga Subject: Re: digiview -> IFF Summary: RGB data is not IFF Message-ID: <557@tardis.Tymnet.COM> Date: 3 Sep 89 08:19:04 GMT References: <2514@hp-sdd.hp.com> Reply-To: jms@tardis.Tymnet.COM (Joe Smith) Organization: McDonnell Douglas Field Service Co, San Jose CA Lines: 33 In article <2514@hp-sdd.hp.com> tony@hp-sdd.UUCP (Tony Parkhurst) writes: >In article MSW@mplvax.sri.com (Mark S. Williams) writes: >>I got the Neptune pictures from Stanford and uncompressed them on my >>amiga. Now what do I do - I don't have DigiView. Is there some way to >>convert a DigiView picture to IFF? >uuuuuuuhh... Well, actually, DigiView pictures ARE in IFF format, they just >aren't immediately displayable because they use 21 planes of direct color, >insted of 1 to 6 planes indexed. I believe that the Neptune pictures are >in GIF format (at least the ones I got were), so you need a GIF to IFF >converter, and as someone pointed out, these pics are monocrome, and 256 >levels of grey, so they probably won't display well on the amiga. Sorry, you've got it all wrong. When you tell DigiView to "Save RBG", it saves the raw data. Width times height bytes of red data, that many bytes of blue data, and the same for green data. There is no "FORM", no byte count, no ILBM, no color palette, nothing but raw data. That is NOT IFF format. DigiView recognizes raw data only if the length of the input file exactly matches the current screen resolution (for monochrome) or exactly 3 times the number of pixels on the screen (for RGB). The pictures from Stanford are raw monochrome data, not GIF. After using the "uncompress" program on *.Z, if you try "1>TYPE TRITON HEX" you will see that the bytes range from 00 to 0F only. That is, these pictures use only 16 out of 256 potential levels of gray. They do display well on the Amiga. -- Joe Smith (408)922-6220 | SMTP: JMS@F74.TYMNET.COM or jms@tymix.tymnet.com McDonnell Douglas FSCO | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms PO Box 49019, MS-D21 | PDP-10 support: My car's license plate is "POPJ P," San Jose, CA 95161-9019 | narrator.device: "I didn't say that, my Amiga did!"