Changeset 2092


Ignore:
Timestamp:
01/12/07 16:39:00 (13 years ago)
Author:
nor
Message:

Update for Packbits Compressor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/PictReader.java

    r1947 r2092  
    539539        } 
    540540 
    541         uBuf = Compression.packBitsUncompress(buf); 
     541        PackbitsCompressor c = new PackbitsCompressor(); 
     542        uBuf = c.decompress(buf); 
     543        //uBuf = Compression.packBitsUncompress(buf); 
    542544 
    543545        // invert the pixels -- PICT images map zero to white 
     
    758760          strips.add(uBufI); 
    759761        } 
    760         else uBuf = Compression.packBitsUncompress(buf); 
     762        else { 
     763          PackbitsCompressor c = new PackbitsCompressor(); 
     764          uBuf = c.decompress(buf); 
     765          //uBuf = Compression.packBitsUncompress(buf); 
     766        } 
    761767 
    762768        if (pixelSize < 8) { 
Note: See TracChangeset for help on using the changeset viewer.