Compression is only for jpegs and has no effect on any other image format. If you want to make the resulting images smaller (and faster to download), include &format=jpg on the querystring and that will convert the output image to jpg format and then the &compression= parameter will take effect.
Do remember that lower compression values will give smaller file sizes but also lower image quality.
Compression not working for me
Hi,
I can't get compression to work. The file size does not change no matter what I set the compression parameter to. Heres a testimage of mine:
http://starterkit.teacommerce.dk/ImageGen.ashx?Image=/media/1163/productimageA1.png&Compression=40
Try messing around with the compression. Nothing happens here. Am i doing i wrong?
Thanks
/Rune
Using Imagegen 2.5.1 by the way.
Hi, Rune,
Compression is only for jpegs and has no effect on any other image format. If you want to make the resulting images smaller (and faster to download), include &format=jpg on the querystring and that will convert the output image to jpg format and then the &compression= parameter will take effect.
Do remember that lower compression values will give smaller file sizes but also lower image quality.
cheers,
doug.
Aah, of cause. *Slapping myself*
Thanks for the pointers.
/Rune
No worries! I've had those moments myself. :)
cheers,
doug.
is working on a reply...