RawImageWidget

class pyqtgraph.RawImageWidget(parent=None, scaled=False)

Widget optimized for very fast video display. Generally using an ImageItem inside GraphicsView is fast enough, but if you need even more performance, this widget is about as fast as it gets (but only in unscaled mode).

__init__(parent=None, scaled=False)

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)

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

Previous topic

GraphicsView

Next topic

DataTreeWidget

This Page