commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Vigdor (JIRA)" <>
Subject [jira] Updated: (SANSELAN-35) IPTCParser fails after encountering record number 1
Date Tue, 05 Jan 2010 21:19:54 GMT


Alex Vigdor updated SANSELAN-35:

    Attachment: SANSELAN-35.patch

The JPG file demonstrates the bug - use ImageMagick, Photoshop or an other tool and see valid
IPTC metadata, but Sanselan misses it.  After applying the attached patch, Sanselan does find
the metadata in the JPG.

> IPTCParser fails after encountering record number 1
> ---------------------------------------------------
>                 Key: SANSELAN-35
>                 URL:
>             Project: Commons Sanselan
>          Issue Type: Bug
>            Reporter: Alex Vigdor
>            Priority: Minor
>         Attachments: 2010-01-04T052300Z_01_BTRE6021PS000_RTROPTP_3_BUSINESS-US-TSE.JPG,
> IPTCParser fails to find valid metadata in a JPEG after it encounters a record number
1 (it only extracts metadata from records numbered 2).  A little debugging showed that this
is because it was not properly moving the buffer pointer to the end of the record to pick
up subsequent valid records - moving the record number check after the pointer update fixes
the problem.  I will attach a patch and sample image.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message