Are there any plans to port for PySide2?
AndiLi99 opened this issue · comments
Andi Li commented
Or is PySide2 already supported?
Andi Li commented
The changelog indicates support for PySide and not PySide2 was added. Installing with PySide2 with conda doesn't seem to work.
John Doe commented
Pypi package is not updated as well. Until then, just clone the repo and install with python setup.py install
John Doe commented
import cv2
from qimage2ndarray import array2qimage
img = cv2.imread("/path/to/pic.tif")
cute_img = array2qimage(img)
print(type(cute_img))
Output:
<class 'PySide2.QtGui.QImage'>
Process finished with exit code 0
Hans Meine commented
1.7 is released with PySide2 support. Please re-open or open new issues if you see remaining issues.