Changeset 6576


Ignore:
Timestamp:
06/28/10 13:46:57 (9 years ago)
Author:
melissa
Message:

Added experimental support for an alternate JPEG-2000 compression code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/tiff/TiffCompression.java

    r6495 r6576  
    9393    } 
    9494  }, 
     95  ALT_JPEG2000(33005, new JPEG2000Codec(), "JPEG-2000") { 
     96    @Override 
     97    public CodecOptions getCompressionCodecOptions(IFD ifd) 
     98        throws FormatException 
     99    { 
     100      CodecOptions options = super.getCompressionCodecOptions(ifd); 
     101      options.lossless = true; 
     102      return JPEG2000CodecOptions.getDefaultOptions(options); 
     103    } 
     104  }, 
    95105  ALT_JPEG(33007, new JPEGCodec(), "JPEG"), 
    96106  NIKON(34713, new NikonCodec(), "Nikon"), 
Note: See TracChangeset for help on using the changeset viewer.