QImage to Numpy Array using PySide

前端 未结 3 1190
时光说笑
时光说笑 2020-12-30 11:26

I am currently switching from PyQt to PySide.

With PyQt I converted QImage to a Numpy.Array using this code that I found on SO:

<         


        
3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-30 11:52

    PySide doesn't seem to offer a bits method. How about using constBits to get the pointer to the array?

提交回复
热议问题