<div dir="ltr"><span style="font-size:12.8px">Hello,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am searching for a way to access pixel data of unsigned char RGBPixel images and complex float images in Numpy through PyBuffer.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I guess that it should be possible to cast these images to a vector type and access the data without copying, but I can't figure out how. PyBuffer doesn't support RGB or complex images, and it feels stupid to decompose and recompose into a vector image.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">What would be a neat solution to this problem? Thanks!</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Edwin Bennink</div></div>