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

Bart bartjunk64 at gmail.com
Tue May 31 23:06:17 CEST 2011


On 5/30/11, Ben <ben.smith.lists at gmail.com> wrote:
>
> The reason I'm reading in the jpg files is so I can get their Width and
> Height values. Avg. jpeg file sizes are between 35-45KB, and largest
> file size is 65KB.
>             Ben.

A bit off-topic (as to the inner workings of FPImage), but I attached
some old code of mine to determine width/height of jpg, gif, bmp, png.
It's probably a little faster...

Bart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PicsLib.pas
Type: text/x-pascal
Size: 13705 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20110531/5fa951b7/attachment.pas>


More information about the fpc-pascal mailing list