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 #137 (closed defect: fixed)

Opened 2007-05-22T16:07:39-05:00

Last modified 2007-05-23T08:34:40-05:00

FITS and PGM do not work with compressed data

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

Description (last modified by curtis)

Both FitsReader and PGMReader extend ImageJReader, a class that calls ImageJ to handle the image file. ImageJReader uses the ij.io.Opener.openImage(String, String) method to read the file, which relies on having the raw file path. Unfortunately, ImageJ does not have modular support for FITS or PGM parsing. The core FITS logic is in ij.plugin.FITS, specifically the embedded FitsDecoder class, but it is not coded to allow third-party software to access the parsing routine effectively. Similarly, ij.plugin.PGMReader handles PGM files, but again, without appropriate external hooks.

Since ImageJ is in the public domain, it would probably be easiest to simply adapt the FITS and PGM code from the aforementioned classes directly into Bio-Formats, eliminating the ImageJ dependency completely, and enabling support for compressed FITS and PGM data.

Change History

comment:1 Changed 2007-05-22T16:08:31-05:00 by curtis

  • Description modified

comment:2 Changed 2007-05-22T16:09:05-05:00 by curtis

  • Description modified

comment:3 Changed 2007-05-23T08:34:40-05:00 by melissa

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

Native support for FITS/PGM added in r2804.