Please help me correct my code for which is suppose to set the image it retrieves from the database. The image does not show in the QLabel. I am using Pyside6.
binary_data = results['image']
img_data = qtc.QByteArray.fromBase64(binary_data)
image = img_data.data()
self.lb_Picture.setPixmap(qtg.QPixmap(image))
New contributor
Nat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.