Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10473

GalleryProcessor should take the compression ratio or quality from the input JPEG image file instead of configuration

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • 4.0.3
    • None
    • None

    Description

      Currently, GalleryProcessor (such as ScalingGalleryProcessor) takes a configuration for the default compression quality (e.g., 1.0).
      It would be better if it takes the compression quality from the input JPEG (or other available format) if possible.

      For example, ImageMagick does that in its convert command. [1]
      This will give more flexibility in most cases, regardless which compression ratio is used in the input JPEG file. Sometimes users meet weird situations if they see a hero image variant (smaller dimension than original image) could result in bigger file size.
      If the system takes the input compression ratio wherever possible, it should be more convenient.

      [1] http://www.imagemagick.org/script/command-line-options.php#quality
      [2] http://www.imagemagick.org/script/identify.php
      [3] http://www.imagemagick.org/discourse-server/viewtopic.php?t=20235

      Attachments

        Activity

          People

            Unassigned Unassigned
            wko Woonsan Ko (Inactive)
            UX Issues UX Issues
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: