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

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.

Environment

Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: b8d62c03aaf6b5ef6b600fe09cc0f978963410b6. Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: af03df00e06d0880584b370e4e2a731c90a7bd51.

Attachments

6

Activity

Show:

Cynthia WilburnMarch 12, 2012 at 2:12 PM

Reopening to add 6.1.1 CE GA2. Close as Fixed.

Cynthia WilburnFebruary 24, 2012 at 3:25 PM

Removing 6.1.1 CE GA2 from fixed-in. We are selecting the GA2 candidates and will re-add this upon approval from product management.

Justin ChoiJanuary 27, 2012 at 11:27 AM

Images properly converted using designated software will not trigger this issue.

Fixed

Details

Assignee

Reporter

Fix Priority

3

Components

Priority

Zendesk Support

Created January 27, 2012 at 10:38 AM
Updated June 24, 2023 at 3:50 PM
Resolved March 12, 2012 at 2:40 PM
Loading...