Hello im trying to convert this line of code buffer = array.array("f", [0.0]) * (WIDTH * HEIGHT * bufferdepth) but have problems its an image buffer of floats but it does not like the [0,0] can anyone helpthanks in advance
0.0 or 0,0? On Fri, 25 Sep 2020, 14:57 Gavin via PythonNet, <pythonnet@python.org> wrote:
Hello
im trying to convert this line of code
buffer = array.array("f", [0.0]) * (WIDTH * HEIGHT * bufferdepth)
but have problems its an image buffer of floats but it does not like the [0,0]
can anyone help thanks in advance _______________________________________________ PythonNet mailing list -- pythonnet@python.org To unsubscribe send an email to pythonnet-leave@python.org https://mail.python.org/mailman3/lists/pythonnet.python.org/ Member address: m.m.span@gmail.com
participants (2)
-
Gavin -
Span, M.M.