Re: Open gzipped FITS image files

Posted by Wayne Rasband on
URL: http://imagej.273.s1.nabble.com/Open-gzipped-FITS-image-files-tp3699348p3699349.html

ImageJ 1.38s, which is now available, opens gzipped FITS files that
have names ending in ".fits.gz". It also opens gzipped raw image files
with names ending in ".gz".

-wayne

> Hi,
>
> I'd like to be able to read gzipped FITS image files, decompressing
> the files
> on the fly.  Is this already possible (I don't see it)?  If not, then
> it
> seems like this would be pretty easy to add to the code, by wrapping
> something like "new GZIPInputStream()" around the existing input stream
> (with the necessary logic to check for a compressed file, and such).
>
> Has this been done/can this be done?