commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luis Arias (JIRA)" <>
Subject [jira] [Created] (IMAGING-100) Sanselan stumbles on attached image
Date Mon, 17 Dec 2012 14:24:35 GMT
Luis Arias created IMAGING-100:

             Summary: Sanselan stumbles on attached image
                 Key: IMAGING-100
             Project: Commons Imaging
          Issue Type: Bug
          Components: Format: JPEG
    Affects Versions: 0.97
            Reporter: Luis Arias
            Priority: Minor

The attached image gives rise to the following exception when using sanselan to retrieve exif
orientation information as follows:

      IImageMetadata metadata = Sanselan.getMetadata(bytes);
      JpegImageMetadata jpegMetadata = (JpegImageMetadata) metadata;
      TiffField orientation = jpegMetadata.findEXIFValue(TiffConstants.EXIF_TAG_ORIENTATION);

|  org.apache.sanselan.ImageReadException: Jpeg contains more than one Photoshop App13 segment.
	at org.apache.sanselan.formats.jpeg.JpegImageParser.getPhotoshopMetadata(
	at org.apache.sanselan.formats.jpeg.JpegImageParser.getMetadata(
	at org.apache.sanselan.Sanselan.getMetadata(
	at org.apache.sanselan.Sanselan.getMetadata(
	at org.apache.sanselan.Sanselan.getMetadata(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message