RawImageWidget#

class pyqtgraph.RawImageWidget(parent=None, scaled=False)[source]#

Widget optimized for very fast video display. Generally using an ImageItem inside GraphicsView is fast enough. On some systems this may provide faster video. See the VideoSpeedTest example for benchmarking.

__init__(parent=None, scaled=False)[source]#

Setting scaled=True will cause the entire image to be displayed within the boundaries of the widget. This also greatly reduces the speed at which it will draw frames.

setImage(img, *args, **kargs)[source]#

img must be ndarray of shape (x,y), (x,y,3), or (x,y,4). Extra arguments are sent to functions.makeARGB

setImage(img, *args, **kargs)[source]#

img must be ndarray of shape (x,y), (x,y,3), or (x,y,4). Extra arguments are sent to functions.makeARGB