diff --git a/script/cpython/image_functions.py b/script/cpython/image_functions.py index 1b09af6..30fb712 100644 --- a/script/cpython/image_functions.py +++ b/script/cpython/image_functions.py @@ -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 diff --git a/script/cpython/wrapper.py b/script/cpython/wrapper.py index 65cbc7d..4b46375 100644 --- a/script/cpython/wrapper.py +++ b/script/cpython/wrapper.py @@ -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