[Scummvm-devel] Moving and merging image-related code
Eugene Sandulenko
sev at scummvm.org
Thu Feb 3 00:39:00 CET 2011
On Wed, 2 Feb 2011 12:53:06 -0500
Matthew Hoops <clone2727 at gmail.com> wrote:
> > png.*
> As I expressed on IRC, I disagreed with having our own PNG decoder and
> I would much rather see libpng used. The dependency on libpng is not
> something that would be ridiculous to depend on and we will most
> likely never equal the speed of libpng.
What I like with current png.* code in the tree is a tiny footprint
comparable to libpng. Also as it was already mentioned we do not really
need majority of libpng code, particularly esoteric colorspaces,
interlaced images or 8bpp high color (how can you call 8bpp a high
color at all?). Speed is not a question here, as you do not have
to decode images in real time anyway.
Another huge advantage is removing libpng dependency. This eases life
of porters a lot and again, libpng is fat.
Eugene
More information about the Scummvm-devel
mailing list