Changeset 6012 for branches/cleanup


Ignore:
Timestamp:
03/09/10 17:31:46 (10 years ago)
Author:
melissa
Message:

Added basic TIFF pixels read/write tests. See #466.

Location:
branches/cleanup/components/bio-formats
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cleanup/components/bio-formats/src/loci/formats/gui/AWTTiffTools.java

    r5990 r6012  
    114114    } 
    115115    if (ifd.getIFDValue(IFD.COMPRESSION) == null) { 
    116       ifd.putIFDValue(IFD.COMPRESSION, TiffCompression.UNCOMPRESSED); 
     116      ifd.putIFDValue(IFD.COMPRESSION, TiffCompression.UNCOMPRESSED.getCode()); 
    117117    } 
    118118    if (ifd.getIFDValue(IFD.PHOTOMETRIC_INTERPRETATION) == null) 
     
    122122            PhotoInterp.BLACK_IS_ZERO : PhotoInterp.RGB; 
    123123      ifd.putIFDValue(IFD.PHOTOMETRIC_INTERPRETATION, 
    124         photometricInterpretation); 
     124        photometricInterpretation.getCode()); 
    125125    } 
    126126    if (ifd.getIFDValue(IFD.SAMPLES_PER_PIXEL) == null) { 
Note: See TracChangeset for help on using the changeset viewer.