Changeset 4168


Ignore:
Timestamp:
07/08/08 13:18:13 (12 years ago)
Author:
melissa
Message:

Set a default creation date, if one is not present in the file.

File:
1 edited

Legend:

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

    r4093 r4168  
    618618    // populate Image 
    619619 
    620     store.setImageCreationDate(creationDate, 0); 
     620    if (creationDate != null) { 
     621      store.setImageCreationDate(creationDate, 0); 
     622    } 
     623    else MetadataTools.setDefaultCreationDate(store, getCurrentFile(), 0); 
    621624    store.setImageDescription(TiffTools.getComment(ifds[0]), 0); 
    622625 
Note: See TracChangeset for help on using the changeset viewer.