NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #98 (closed enhancement: fixed)

Opened 2007-04-04T07:10:32-05:00

Last modified 2007-04-16T11:39:53-05:00

Add ability to toggle metadata collection

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

Description (last modified by curtis)

Right now, Bio-Formats always parses metadata during initialization and populates its internal metadata hashtable. In some cases, there may be a large number of objects added to the table that represent significant overhead. If we know that we will not need these objects, it would be nice to be able to skip the metadata parsing altogether for that data. In particular, in situations like LeicaReader using a collection of constituent TiffReader instances, it makes sense to parse the metadata only from the first TIFF, and disable metadata parsing for the others, to decrease overhead.

Once this feature exists, the "-nometa" command line flag for showinf should be updated to not only suppress metadata output, but toggle it off completely.

Change History

comment:1 Changed 2007-04-04T07:10:51-05:00 by curtis

  • Description modified

comment:2 Changed 2007-04-04T07:12:59-05:00 by curtis

  • Description modified

comment:3 Changed 2007-04-10T13:32:02-05:00 by melissa

API added in r2586; calling setMetadataCollected(false) on an IFormatReader disables metadata collection. If collection is disabled, calls to FormatReader.addMeta will return without modifying the metadata hashtable. This may not be sufficient, so I won't close the ticket just yet.

comment:4 Changed 2007-04-16T11:39:53-05:00 by melissa

  • Status changed from new to closed
  • Resolution set to fixed