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

Converted image files are read as the original format and the colors are reversed

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.1 CE GA2, 6.1.10 EE GA1, 6.2.0 CE M2
    • Labels:
      None
    • Environment:
      Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: b8d62c03aaf6b5ef6b600fe09cc0f978963410b6.
      Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: af03df00e06d0880584b370e4e2a731c90a7bd51.
    • Fix Priority:
      3

      Description

      I converted a PNG and a GIF to a JPG/JPEG format and uploaded the converted file to the Documents and Media portlet. Once uploaded, I noticed that the colors are transposed (R-G-B). For example, the French flag with Blue, White and Red becomes green, red, and blue. (See screenshot). The original French flag was in the GIF format. Likewise, a South Korean flag that was originally in the PNG format then converted to a JPG format has its colors are also transposed (See screenshot).

      Attached to this ticket are the files that I used.

      Steps taken:
      1. Add a page.
      2. Add the Documents and Media portlet.
      3. Add a file in the original format that is not a JPG/JPEG.
      4. Convert the file to a JPG.
      5. Upload the new file. The colors are not the same.

        Attachments

        1. color errors.JPG
          color errors.JPG
          36 kB
        2. color errors.txt
          5 kB
        3. France_flag.jpg
          France_flag.jpg
          5 kB
        4. France-flag1.jpg
          France-flag1.jpg
          21 kB
        5. south_korea.png
          south_korea.png
          31 kB
        6. south_korea.png
          south_korea.png
          31 kB

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            justin.choi Justin Choi (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 years, 22 weeks, 2 days ago

                Packages

                Version Package
                6.1.1 CE GA2
                6.1.20 EE GA2
                6.2.0 CE M2