Closedown

This commit is contained in:
gac-x04sa
2018-10-30 16:16:04 +01:00
parent 40f6d9088b
commit ebf365a1da
2 changed files with 2 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
import numpy
def img_get_int(fname, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2 ):
print "X", fname, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2
# read actual image file
img = numpy.fromfile(fname, dtype=numpy.uint32)
img.shape = height, width

View File

@@ -1,6 +1,7 @@
from jeputils import *
def img_get_int(fname, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2 ):
print [fname, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2]
ret = call_jep("CPython/image_functions", "img_get_int", [fname, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2])
return ret