🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#107
From: Victor Wagner
Date: Fri, 31 Dec 1999 00:00
29 lines
2025 bytes
Paul Richards <pauldoo@dunvegan1.demon.co.uk> 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.

P6 cannot, but P3 - ascii format PPM, can. Of course, files would be
_HUGE_.

Here is quote from man ppm(5)

       Note  that  this  raw  format can only be used for maxvals
       less than or equal to 255.  If you use the ppm library and
       try to write a file with a larger maxval, it will automat�
       ically fall back on the slower but more general plain for�
       mat.


-- 
"Help save the world!"              -- Larry Wall in README
Technical Details
Message-ID: <84hqus$rnh$1@wagner.wagner.home>
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
X-Google-Thread: 10c696,ebc9e295d1a238b
X-Google-Attributes: gid10c696,public
X-Google-Thread: 1036bc,ebc9e295d1a238b
X-Google-Attributes: gid1036bc,public
X-Google-Thread: f65bb,ebc9e295d1a238b
X-Google-Attributes: gidf65bb,public
X-Google-Thread: 109fba,ebc9e295d1a238b
X-Google-Attributes: gid109fba,public
X-Google-Thread: 10d8ad,ebc9e295d1a238b
X-Google-Attributes: gid10d8ad,public
From: vitus@wagner.rinet.ru (Victor Wagner)
Subject: Re: OT:  Looking for image file format that can handle 16b its per  channel
Date: 1999/12/31
Message-ID: <84hqus$rnh$1@wagner.wagner.home>
X-Deja-AN: 567004855
Content-Transfer-Encoding: 8bit
References: <38693B3A.758C6CD5@dunvegan1.demon.co.uk> <84cb24$f2f$1@wagner.wagner.home> <386B576B.6C41C3D6@dunvegan1.demon.co.uk>
Organization: Where is your mouse [/dev/Wagner's home
Content-Type: text/plain; charset=koi8-r
Mime-Version: 1.0
Newsgroups: comp.graphics.api.opengl,comp.lang.c++,comp.os.linux.development.apps,demon.tech.pc,uk.comp.os.linux