L.S.
My internet provider supports version 1.3 of the GD-library. This version does not support Jpeg files. I am looking for a simple Jpeg-resize algoritm which i can include in my php-script.
Grtz,
Rein
That's not something you want to do in PHP.
Use a tool or tell your ISP to upgrade to a non-stoneage version of GD.
A long time ago i had a algoritm for Pascal. It was not large (<10Kb). I think it must be possible in PHP too.
Could you post/mail that algorithm ?
You really don't want to do that without a utility, PHP is not good at handling binary data.
sure, i know a bit about php. it just asked for fun and because I'm always interested in interesting algorithms, in whatever language.