> from jarray import array
> blank=ops.createimg(array([100, 50], 'l'))
>

Thanks for this Brian! It definitely worked for me.

I would like to make things friendlier by automatically converting python
arrays to java, so I opened a new issue:
https://github.com/scijava/scripting-jython/issues/2

Thanks for pointing this out Jan.

Best,
Mark
_______________________________________________
ImageJ-devel mailing list
ImageJ-devel@imagej.net
http://imagej.net/mailman/listinfo/imagej-devel

Reply via email to