Changeset 871


Ignore:
Timestamp:
Mar 21, 2013 3:16:06 PM (9 years ago)
Author:
vondreele
Message:

3Kx3K MAR tif image files now read.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r848 r871  
    387387            Value = st.unpack(byteOrd+nVal*'f',File.read(nVal*4))
    388388        IFD[Tag] = [Type,nVal,Value]
    389 #        print Tag,IFD[Tag]
     389        print Tag,IFD[Tag]
    390390    sizexy = [IFD[256][2][0],IFD[257][2][0]]
    391391    [nx,ny] = sizexy
     
    418418            print 'Read Gold tiff file:',filename
    419419        image = np.array(ar.array('H',File.read(2*Npix)),dtype=np.int32)
    420     elif sizexy == [2048,2048] or sizexy == [1024,1024]:
     420    elif sizexy == [2048,2048] or sizexy == [1024,1024] or sizexy == [3072,3072]:
    421421        if IFD[273][2][0] == 8:
    422422            if IFD[258][2][0] == 32:
Note: See TracChangeset for help on using the changeset viewer.