Changeset 6489


Ignore:
Timestamp:
06/04/10 12:52:16 (9 years ago)
Author:
melissa
Message:

Fixed Nikon tag parsing.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.2/components/bio-formats/src/loci/formats/in/NikonReader.java

    r6457 r6489  
    323323        else { 
    324324          addGlobalMeta(name, exifIFD.get(key)); 
    325           if (name.equals("Offset to maker note")) { 
     325          if (name.equals("MAKER_NOTE")) { 
    326326            byte[] b = (byte[]) exifIFD.get(key); 
    327327            int extra = new String(b, 0, 10).startsWith("Nikon") ? 10 : 0; 
  • trunk/components/bio-formats/src/loci/formats/in/NikonReader.java

    r6458 r6489  
    318318        else { 
    319319          addGlobalMeta(name, exifIFD.get(key)); 
    320           if (name.equals("Offset to maker note")) { 
     320          if (name.equals("MAKER_NOTE")) { 
    321321            byte[] b = (byte[]) exifIFD.get(key); 
    322322            int extra = new String(b, 0, 10).startsWith("Nikon") ? 10 : 0; 
Note: See TracChangeset for help on using the changeset viewer.