mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Added IREC header entry for use with Bio-formats library
This commit is contained in:
parent
ba86d90a00
commit
a9441a475d
|
@ -249,6 +249,7 @@ def makeSpiderHeader(im):
|
|||
# NB these are Fortran indices
|
||||
hdr[1] = 1.0 # nslice (=1 for an image)
|
||||
hdr[2] = float(nrow) # number of rows per slice
|
||||
hdr[3] = float(nrow) # number of records in the image
|
||||
hdr[5] = 1.0 # iform for 2D image
|
||||
hdr[12] = float(nsam) # number of pixels per line
|
||||
hdr[13] = float(labrec) # number of records in file header
|
||||
|
|
Loading…
Reference in New Issue
Block a user