Skip Menu |

This queue is for tickets about the Image-Info CPAN distribution.

Report information
The Basics
Id: 25032
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Image-Info

People
Owner: TELS [...] cpan.org
Requestors: ben [...] qolc.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 1.22
  • 1.23
Fixed in: (no value)



Subject: Off-by-one error in TIFF text field handling
I fixed this a while ago but looks like I forgot to call it in. ASCII text TIFF tags weren't being handled correctly -- basically you'd get an array of characters, when a string would be rather more useful. The attached patch fixes this; also adds support for the DocumentName tag, and tidies up the change made in 1.23 (there is already a check for whether the total length is <= 4 bytes immediately before the code that was added in 1.23, so this has been merged upwards), and a slight tidyup of the rational handling in the same block which was needlessly nested. The tests work with the existing TIFF test image. Best regards, Ben
Subject: patch
Download patch
application/octet-stream 3.7k

Message body not shown because it is not plain text.

Thanx a lot for the patch, I applied it and released v1.24 to CPAN.