(sorry, meant to post it here..)
I am outputting images to the browser using ImageJpeg().
I want to vary the picture quality argument (the third arg) according to the connection speed the user has specified in thier account preferences, so if they have a 56k line they get
ImageJpeg( $Image, ' ', 10 )
where 10 is a variable determined by thier connection speed.
If they've got broadband or T1, etc, it will be
ImageJpeg( $Image, ' ', 100. )
Will this make a difference to how quickly the images download to thier browser? (because that's the whole point).
I have tried outputting 1000 of the same image to a page with varying quality args to ImageJpeg( ), but the speed is always the same(!?) - I am doing this on my localhost so I can't test actual downloading from a server.
Isn't the picture quality argument in ImageJpeg supposed to make things quicker to download?
Otherwise, is it determined by the quality of the source picture ImageJpeg is made from - ie MyImage = ImageCreateFromJpeg( "MyImage.jpg")?
Also, I 'm not saving this to a physical file before outputting to the browser. Its constructed from base parts/images, then put to the browser. If this has any bearing.
Ta.