🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.api.opengl
Article #113

Re: OT: Looking for image file format that can handle 16b its per channel

#113
From: Paul Richards
Date: Thu, 30 Dec 1999 00:00
32 lines
2422 bytes
Oliver Kreylos wrote:
> 
> Paul Richards wrote:
> >
> > Victor Wagner wrote:
> > >
> > > Paul Richards <pauldoo@dunvegan1.demon.co.uk> wrote:
> > > : Hi,
> > > : Does anyone know of a simple image file format that I can use that can
> > > : handle 16bits per channel?  In effect producing 48bit colour images?  I
> > > : mean simple in that it'll be easy for me to write the input/output
> > > : routines for in C++.
> > >
> > > ppm
> >
> > PPM can't do 16bits per channel or 16bit greyscale which is what I'm
> > looking for.
> 
> I think it can. The ASCII ppm format is rather flexible. AFAIK, you can
> have arbitrarily large values per channel per pixel, you just should
> give the maximal used value in the "maxValue" field.

ASCII PPM?  What do you mean by that?  The PPM's I currently can make
have the header in ASCII, and they do have a "maxValue" field but the
data is just raw binary.

Could you explain a little further on how these ASCII ones work?
-- 
Paul Richards (Pauldoo) - http://www.pauldoo.co.uk

I've not run any Microsoft code for 2926857 seconds.
    How about you?
Technical Details
Message-ID: <386BA45D.CC16CBA5@dunvegan1.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38693B3A.758C6CD5@dunvegan1.demon.co.uk> <84cb24$f2f$1@wagner.wagner.home> <386B576B.6C41C3D6@dunvegan1.demon.co.uk> <386BA020.705BACC8@cs.ucdavis.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c696,ebc9e295d1a238b
X-Google-Attributes: gid10c696,public
X-Google-Thread: 1036bc,ebc9e295d1a238b
X-Google-Attributes: gid1036bc,public
X-Google-Thread: 109fba,ebc9e295d1a238b
X-Google-Attributes: gid109fba,public
X-Google-Thread: 10d8ad,ebc9e295d1a238b
X-Google-Attributes: gid10d8ad,public
X-Google-Thread: f65bb,ebc9e295d1a238b
X-Google-Attributes: gidf65bb,public
From: Paul Richards <pauldoo@dunvegan1.demon.co.uk>
Subject: Re: OT:  Looking for image file format that can handle 16b its per  channel
Date: 1999/12/30
Message-ID: <386BA45D.CC16CBA5@dunvegan1.demon.co.uk>
X-Deja-AN: 566626383
Content-Transfer-Encoding: 7bit
X-NNTP-Posting-Host: dunvegan1.demon.co.uk:193.237.111.243
References: <38693B3A.758C6CD5@dunvegan1.demon.co.uk> <84cb24$f2f$1@wagner.wagner.home> <386B576B.6C41C3D6@dunvegan1.demon.co.uk> <386BA020.705BACC8@cs.ucdavis.edu>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@demon.net
X-Trace: news.demon.co.uk 946586763 nnrp-07:20470 NO-IDENT dunvegan1.demon.co.uk:193.237.111.243
Organization: Pauldoo's Linux Box
Mime-Version: 1.0
Newsgroups: comp.graphics.api.opengl,comp.lang.c++,comp.os.linux.development.apps,demon.tech.pc,uk.comp.os.linux