Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2915

Optimize quality when resizing images

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.3, 4.3.0
    • None
    • None
    • None
    • 4.3 M1

      Here attached, an original picture inserted in a content (90 kB) and the image as it is displayed on website (30 kB)
      We can see clearly that the quality has been deteriorated, a lot around letters

      Optionnaly it would be nice to be able to choose from different quality level for image rendering on web site (New settings in admin interface).

          [RUNTIME-2915] Optimize quality when resizing images

          Default value seems to be 75% quality.
          We shall not use more that 90%, because after, images become really heavy

          We have to call OutputStreamImageSink#setParam with the quality param set.

          Raphaël Franchet added a comment - Default value seems to be 75% quality. We shall not use more that 90%, because after, images become really heavy We have to call OutputStreamImageSink#setParam with the quality param set.

            lperier Laurence Perier
            dcartier David Cartier-Michaud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: