[fpc-pascal] Why is FPImage dog slow in reading jpeg's?
Ben Smith
ben.smith.lists at gmail.com
Mon May 30 17:04:00 CEST 2011
>
> Interesting. What is supposed to be a "large image"? I ask because the
> original post mentioned 35 kB and 65 kB (and indirectly also dimensions
> around 600x400 if I understand the program output correctly) which I
I suppose he was referring to the "color palette", and not the
physical image size. I guess that is why The Gimp limits png images to
256 colors when I saved it as Indexed (which then generates a color
palette). So I guess it is a standard issue with Index/Palette
images.... thus limit your colors, or don't use a palette.
I guess one change in FPImage (depending on how often this occurs
obviously), could be to default to UsePalette = False instead.
--
Ben.
More information about the fpc-pascal
mailing list