Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-13051

Colors on Thumbnail of CMYK image are distorted

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 5.1.2, 5.2.3, 6.0.5 GA, 6.1.0 CE RC1, 6.1.0 CE GA1, 6.1.10 EE GA1, 6.2.0 CE M2
    • Fix Version/s: --Sprint 11/12, 6.2.0 CE M2
    • Component/s: DM
    • Labels:
    • Environment:
      Trunk (63719) + Tomcat 6 + MySQL
      Also affects 6.0, 5.2 and 5.1

      Description

      1) Upload original.jpg to the Image Gallery
      2) The thumbnail generated for this file is in thumbnail.jpg

      Notice how the thumbnail doesn't look anything like the original image. This happens only on CMYK images.

      The fix requires ImageMagick to be installed on the server. Since ImageMagick was not utilised by Liferay until 6.1, this cannot be back ported to earlier versions.

      To test, enable install and enable ImageMagick before attempting to upload any of the CMYK files attached to this ticket:

      • original.jpg
      • 01 la novia cadaver.jpg
      • francoise_vanneraud_refugio_2009.jpg

        Attachments

        1. 01 la novia cadaver.jpg
          01 la novia cadaver.jpg
          497 kB
        2. 01 la novia cadaver (thumbnail).jpg
          01 la novia cadaver (thumbnail).jpg
          7 kB
        3. francoise_vanneraud_refugio_2009.jpg
          francoise_vanneraud_refugio_2009.jpg
          72 kB
        4. francoise_vanneraud_refugio_2009 (thumbnail).jpg
          francoise_vanneraud_refugio_2009 (thumbnail).jpg
          5 kB
        5. ImageToolImpl.java
          7 kB
        6. original.jpg
          original.jpg
          6.41 MB
        7. thumbnail.jpg
          thumbnail.jpg
          3 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 14 weeks, 2 days ago

                  Packages

                  Version Package
                  --Sprint 11/12
                  6.2.0 CE M2