🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#112
From: Eero Pajarre
Date: Thu, 30 Dec 1999 00:00
34 lines
1778 bytes
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.
>

Huh?

The "ASCII" ppm format (with P3 tag) can contain 16 bits per channel.

Here is an example file: (4 pixels)
--------------------
P3
2 2
65535
65535 0 0
0 65535 0
0 0 65535
65535 0 65535
--------------------


		Eero
Technical Details
Message-ID: <386B99ED.D45C5847@koti.tpo.fi>
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>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1036bc,ebc9e295d1a238b
X-Google-Attributes: gid1036bc,public
X-Google-Thread: 10c696,ebc9e295d1a238b
X-Google-Attributes: gid10c696,public
X-Google-Thread: f65bb,ebc9e295d1a238b
X-Google-Attributes: gidf65bb,public
X-Google-Thread: 10d8ad,ebc9e295d1a238b
X-Google-Attributes: gid10d8ad,public
X-Google-Thread: 109fba,ebc9e295d1a238b
X-Google-Attributes: gid109fba,public
From: Eero Pajarre <epajarre@koti.tpo.fi>
Subject: Re: OT:  Looking for image file format that can handle 16b its per  channel
Date: 1999/12/30
Message-ID: <386B99ED.D45C5847@koti.tpo.fi>
X-Deja-AN: 566582741
Content-Transfer-Encoding: 7bit
References: <38693B3A.758C6CD5@dunvegan1.demon.co.uk> <84cb24$f2f$1@wagner.wagner.home> <386B576B.6C41C3D6@dunvegan1.demon.co.uk>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: TPO Internet
Mime-Version: 1.0
Newsgroups: comp.graphics.api.opengl,comp.lang.c++,comp.os.linux.development.apps,demon.tech.pc,uk.comp.os.linux