Ticket #77 (closed enhancement: fixed)

Opened 13 years ago

Last modified 13 years ago

Some TIFF comment key/value pairs are parsed incorrectly

Reported by: curtis Owned by: melissa
Priority: minor Milestone:
Component: bio-formats Severity:
Keywords: Cc:
Blocked By: Blocking:

Description

Most of the key/value pairs found in the ImageDescription for (e.g.) 011B1_Morph_A01_s1_w1.TIF are parsed correctly, but the first and last entries -- Exposure and Temperature -- are not. The comment field is:

Exposure: 200 ms
Binning: 2 x 2
Region: 1392 x 1040, offset at (0, 0)
Subtract: Off
Shading: Off
Digitizer: 20MHz
Gain: Gain 2 (4x)
Camera Shutter: Always Open
Clear Count: 2
Trigger On: 0
Temperature: -29.95
010B1-011B1 Morph

But parses as (errors in bold):

Comment: Exposure: 200 ms
Binning: 2 x 2
Region: 1392 x 1040, offset at (0, 0)
Subtract: Off
Shading: Off
Digitizer: 20MHz
Gain: Gain 2 (4x)
Camera Shutter: Always Open
Clear Count: 2
Trigger On: 0
Temperature: -29.95
010B1-011B1 Morph

Change History

comment:1 Changed 13 years ago by curtis

Also, a related issue is that the OME-XML contains the entire set of key/value pairs in its Description tag. It probably makes more sense to remove those items from the Description.

comment:2 Changed 13 years ago by melissa

  • Status changed from new to closed
  • Type changed from defect to enhancement
  • Resolution set to fixed

Added logic to parse MetaMorph TIFF comments in r2495. Changed from 'defect' to 'enhancement', since the comment wasn't being parsed incorrectly - it simply wasn't being parsed.

Note: See TracTickets for help on using tickets.