POV-Ray : Newsgroups : povray.general : Creating 16-bit HFs from C++ : Re: Creating 16-bit HFs from C++ Server Time
2 Aug 2024 06:17:08 EDT (-0400)
  Re: Creating 16-bit HFs from C++  
From: Christopher James Huff
Date: 23 Feb 2005 13:19:56
Message: <cjameshuff-89640C.13200523022005@news.povray.org>
In article <421cb7b9$1@news.povray.org>, "Sebastian H." <van### [at] gmxde> 
wrote:

> Aha, me too, but linux is my choice.
> As Christopher mentioned libpng is not that hard to use.
> Just yesterday I took a look at the manpage (man libpng) and there are
> several examples on how to write the image data.
> I didn't try it yet, but it didn't look too complicated.
> Maybe within the next week I'll have some C++ code.

Both reading and writing are really pretty easy, though you have to 
write a bit more code than is convenient. It would really be nice if 
they made an ultra-simple convenience API available. There are wrappers 
out there that simplify things, though you will probably need to modify 
them to allow 16 bit images.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: <chr### [at] tagpovrayorg>
http://tag.povray.org/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.