def get_plain_image_as_widget ( self ) : arr = self . getwin_array ( order = self . rgb_order ) image = self . _get_qimage ( arr , self . qimg_fmt ) return image
displaying a png image in a widget using python
Used for generating thumbnails . Does not include overlaid graphics .
def get_plain_image_as_widget(self):
        """Used for generating thumbnails.  Does not include overlaid
        graphics.
        """
        arr = self.getwin_array(order=self.rgb_order)
        image = self._get_qimage(arr, self.qimg_fmt)
        return image