eZ Community » Forums » Discussions » Image optimizations in eZ Platform...
expandshrink

Wednesday 30 August 2017 4:23:10 pm - 2 replies

» Read full blog post

Introduction

Your eZ site might be serving megabytes of unnecessary image data on every page load. Do your users and your SEO rankings a favour: strip image metadata and set a reasonable image quality setting for your image aliases!

Thursday 31 August 2017 10:57:36 am

I strongly discourage manipulating the quality factor within ImageMagick as it's very slow and introduces unnecessary JPEG artefacting.

Within the LiipImagineBundle we've introduced the concept of a PostProcessor, and several are available by default.  I recommend instead enabling the mozjpeg and pngquant postprocessors, which will only work for their configured image types, with default settings.  You will typically see a 60% reduction in filesize, with no noticeable change image quality.

http://symfony.com/doc/current/bundles/LiipImagineBundle/post-processors/jpeg-moz.html
http://symfony.com/doc/current/bundles/LiipImagineBundle/post-processors/png-quant.html

Thursday 31 August 2017 3:45:00 pm

Quote from Alex Wilson :

I strongly discourage manipulating the quality factor within ImageMagick as it's very slow and introduces unnecessary JPEG artefacting.

Within the LiipImagineBundle we've introduced the concept of a PostProcessor, and several are available by default.  I recommend instead enabling the mozjpeg and pngquant postprocessors, which will only work for their configured image types, with default settings.  You will typically see a 60% reduction in filesize, with no noticeable change image quality.

http://symfony.com/doc/current/bundles/LiipImagineBundle/post-processors/jpeg-moz.html
http://symfony.com/doc/current/bundles/LiipImagineBundle/post-processors/png-quant.html

Thanks for the tip! I've updated the post accordingly.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from