WordPress.org

Support

Support » Plugins and Hacks » Auto Image Resizer » [Plugin: Auto Image Resizer] Set a better compression

[Plugin: Auto Image Resizer] Set a better compression

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Dennis Hoppe

    @dhoppe

    I will add this as a new to the backend in the new version. To change the quality you need to add the third parameter to imagejpeg() and imagepng(). For imagejpeg() you need to set a value ranges from 0 (worst quality, smaller file) to 100 (best quality, biggest file) and for imagepng() a value from 0 (no compression) to 9.

    sorry, I am newbie, I don’t understand which line you said.

    Plugin Author Dennis Hoppe

    @dhoppe

    The line where imagejpeg() and imagepng() were called… 😉

    Hi

    Mind detailing this a bit more?

    Case IMAGETYPE_JPEG: imagejpeg($image_resized, $dst, 75); Break;

    Like this?

    Plugin Author Dennis Hoppe

    @dhoppe

    Exactly. But 75 is the default value. 😉

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Auto Image Resizer] Set a better compression’ is closed to new replies.
Skip to toolbar