Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rune Grønkjær 1297 posts 2869 karma points
    Jun 04, 2012 @ 15:03
    Rune Grønkjær
    0

    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

  • Rune Grønkjær 1297 posts 2869 karma points
    Jun 04, 2012 @ 15:04
    Rune Grønkjær
    0

    Using Imagegen 2.5.1 by the way.

  • Douglas Robar 3570 posts 4670 karma points MVP 6x admin c-trib
    Jun 04, 2012 @ 16:19
    Douglas Robar
    2

    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. 

  • Rune Grønkjær 1297 posts 2869 karma points
    Jun 04, 2012 @ 16:21
    Rune Grønkjær
    0

    Aah, of cause. *Slapping myself*

    Thanks for the pointers.

    /Rune

  • Douglas Robar 3570 posts 4670 karma points MVP 6x admin c-trib
    Jun 04, 2012 @ 16:22
    Douglas Robar
    0

    No worries! I've had those moments myself. :)

    cheers,
    doug. 

Please Sign in or register to post replies

Write your reply to:

Draft