Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-21480

Fix the Thumbnail rendering that fails for transparent images (PNG/GIF) and for certain images with embedded color profiles (CMMException)

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      • Update atlassian-core with Wojciech's change
      • Optionally add my JAI based renderer for the JPEGs that cannot be rendered.
      • Fix the thumbnail servlet (all the thumbnails are currently stored as JPEG)
      • Write an upgrade task that removes all the JPEG thumbnails.

      Note:

      • Added stream based renderer for images that exceed a certain dimension (currently 5000px).
      • Added a JAI based renderer that will be used as a fallback renderer for images
        with embedded colour profiles that cause a CMMException.
      • Updated upgrade task.
      • Added an adaptive strategy that take the available free memory into account in order to decide whether to use
        the raster based (high quality, high memory consumption) or stream based (lower quality,
        low memory consumption, faster) approach.

            [CONFSERVER-21480] Fix the Thumbnail rendering that fails for transparent images (PNG/GIF) and for certain images with embedded color profiles (CMMException)

            Hi Robert,

            Unfortunately the change is fairly involved so we cannot provide a patch for 3.4.

            Sorry about that.

            Best regards,
            Stefan

            Stefan Saasen (Inactive) added a comment - Hi Robert, Unfortunately the change is fairly involved so we cannot provide a patch for 3.4. Sorry about that. Best regards, Stefan

            Robert Collier added a comment - - edited

            This is an important fix for us since have many transparent images that turn black in the thumbnails. Can we patch a 3.4 install without needing to do a full 3.5 upgrade for just this fix?

            Robert Collier added a comment - - edited This is an important fix for us since have many transparent images that turn black in the thumbnails. Can we patch a 3.4 install without needing to do a full 3.5 upgrade for just this fix?

            Removing fix for version don't think this got fixed.
            Should we close this or move it to 3.5? Trying to close off any issues that have fix for versions as 3.4. If you could update the issue that would be great.

            Sherif Mansour added a comment - Removing fix for version don't think this got fixed. Should we close this or move it to 3.5? Trying to close off any issues that have fix for versions as 3.4. If you could update the issue that would be great.

            moving to ER team

            Sherif Mansour added a comment - moving to ER team

              ssaasen Stefan Saasen (Inactive)
              ssaasen Stefan Saasen (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: