#NEWLINE# def _get_qimage( self , bgra ) : #NEWLINE# #INDENT# ( h , w , channels ) = bgra . shape #NEWLINE# fmt = QImage . Format_ARGB32 #NEWLINE# result = QImage ( bgra . data , w , h , fmt ) #NEWLINE# result . ndarray = bgra #NEWLINE# return result