In article <1363476251.91693.YahooMailNeo at web171605.mail.ir2.yahoo.com>,
Andrew Burton <aliensrcooluk at yahoo.co.uk> writes:
From: Richard <legalize at xmission.com>
Why aren't you using libpng?
Because that is far too easy and I wanted to learn how to decode the
PNG file format.
Meh. There's more important things to learn that aren't available in
canned libraries, IMO. Good game design and gameplay, for instance.
Using a library teaches me nothing, not to mention
adds unecessary bulk (the routines I don't use) to whatever I'm using
PNG's in.
Whatever you don't use doesn't get linked into your executable because
each "feature" in libpng is it's own compilation unit, IIRC.
--
"The Direct3D Graphics Pipeline" free book
<http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <http://computergraphicsmuseum.org>
The Terminals Wiki <http://terminals.classiccmp.org>
Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>