nanogui: PNG support in Nano-X
Subject:
Re: PNG support in Nano-X
From:
Alex Holden ####@####.####
Date:
27 Nov 2000 19:41:45 -0000
Message-Id: <Pine.LNX.4.04.10011271918370.1089-100000@hyperspace.linuxhacker.org>
On Mon, 27 Nov 2000, Jordan Crouse wrote:
> Using .JPG as an example, you can write a handler for PNG using the
> third party libpng (available anywhere fine Open Source is provided), or
> using .XPM as an example, you can write your own parser.
I would recommend using libpng as the format is far from trivial to
implement, and libpng is cleanly written, stable, and well maintained.
It's fairly similar to libjpeg from the user API perspective. I very much
doubt you'll need to hack the library itself at all to be able to use it,
and since it'll be a config option, only those that need it have to get
hold of it and build it for the target architecture (if the target
architecture is the same as the development machine, the chances are that
it's already installed anyway). The only disadvantage is that it's quite
big.
--
------- Alex Holden -------
http://www.linuxhacker.org/
http://www.robogeeks.org/