Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-20072

Attachment and thumbnail missing in issue when CMYK jpeg image attached.

XMLWordPrintable

    NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

    The thumbnail is not generated, and also the attachment does not appear in the attachments list when a CMYK JPEG image is attached to an issue due to the following exception during the ImageIO parsing:

    javax.imageio.IIOException: Unsupported Image Type
    at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:940)
    at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:915)
    at javax.imageio.ImageIO.read(ImageIO.java:1422)
    at javax.imageio.ImageIO.read(ImageIO.java:1326)
    at com.atlassian.core.util.thumbnail.Thumber.getImage(Thumber.java:281)
    at com.atlassian.core.util.thumbnail.Thumber.createThumbnail(Thumber.java:241)
    at com.atlassian.core.util.thumbnail.Thumber.retrieveOrCreateThumbNail(Thumber.java:215)
    at com.atlassian.core.util.thumbnail.Thumber.retrieveOrCreateThumbNail(Thumber.java:86)
    .....

      1. cmyk.jpg
        cmyk.jpg
        874 kB
      2. CMYK JPEG - No Color Profile Error
        214 kB
      3. SourceProfileTest_CMYK_5percent-en.jpg
        SourceProfileTest_CMYK_5percent-en.jpg
        3.79 MB

            jhazelwood James Hazelwood
            astuckey Adam Stuckey [Atlassian]
            Votes:
            17 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved: