[fpc-pascal] Why is FPImage dog slow in reading jpeg's?

Mattias Gaertner nc-gaertnma at netcologne.de
Tue May 31 08:20:39 CEST 2011


On Mon, 30 May 2011 23:24:30 +0200 (CEST)
Michael Van Canneyt <michael at freepascal.org> wrote:

> 
> 
> On Mon, 30 May 2011, Felipe Monteiro de Carvalho wrote:
> 
> > On Mon, May 30, 2011 at 10:16 PM, Marco van de Voort <marcov at stack.nl> wrote:
> >       http://bugs.freepascal.org/view.php?id=17621
> > 
> > 
> > Indeed, I was remembering that too =)
> > 
> > And also, I have a program which loads a huge image (20MB) using TPortableNetworkGraphics and it takes minutes to load the image. I have simply supposed
> > that it was because of the file system usage, but now I am starting to think that maybe the fcl-image pallete causes the slowness.
> > 
> > So I have to suggest: Is there a convincing reason for having Pallete set to true by default? What do you think about the trivial solution of setting it
> > off by default?
> 
> It is now off by default.
> 
> Committed in revision 17613.

Great. :)

Mattias



More information about the fpc-pascal mailing list