Re: MNG decoder performance very bad

Markus Meyer <meyer-GO0b9/[email protected]> 15 Aug 2003 04:21:10 +0200
Newsgroups gmane.comp.graphics.mng.general
Message-ID <1060914070.4040.13.camel@markus>
Glenn,

Am Fre, 2003-08-15 um 03.48 schrieb Glenn Randers-Pehrson:
> At 07:48 PM 8/14/03 +0200, you wrote:
> >
> >Time (ms)  Function
> >----------------------------------------------
> >1401,371  _filter_paeth (libmng_filter.obj)
> 
> Try using the sub filter or "none" filter when compressing your images.
> The Paeth filter is the slowest PNG filter to decompress.

Thanks for the quick answer! Maybe you can recommend a program which is
able to write such images? [I could rant all day about JASC software,
who have created a perfect tool, which is made useless by a lot of flaws
in the export function...]

When one looks at the profile, one can say that the MngAlloc (basically
"calloc(1,size)") is the second big showstopper in the list. Are there
any possibilities to tune libMNG so that not so much memory is
allocated, and I don't have to zero it? Does it really have to hold all
decoded frames forever in memory?

Thanks again


Markus



--
Send the message body "help" to [email protected]