Do you mean save an image file of the contents of the current plot window? 
In that case there are exporters which can do that. 
See http://www.pyqtgraph.org/documentation/exporting.html#exporting-from-the-api

(Otherwise, a ViewBox alone doesn't display an image, you must have added a 
ImageItem or similar to the ViewBox to actually store and display image 
data.)

On Monday, 13 August 2018 19:24:33 UTC+9:30, mohammad sarvi wrote:
>
>
>
> در دوشنبه 13 اوت 2018، ساعت 8:10:42 (UTC+4:30)، Patrick نوشته:
>>
>> You can get the ImageItem component from the ImageView, and then the 
>> image data from the ImageItem using:
>>
>> image = imageview.getImageItem().image
>>
>> Not that the value can be None if the image hasn't been set yet.
>>
>> (By the way, the trick to finding this is looking at the source code, by 
>> clicking the green [source] link in the API documentation: 
>> http://www.pyqtgraph.org/documentation/_modules/pyqtgraph/graphicsItems/ImageItem.html#ImageItem
>> )
>>
>>
>> On Saturday, 11 August 2018 23:33:51 UTC+9:30, mohammad sarvi wrote:
>>>
>>> I need to have a latest image data that displaying  in imageview , would 
>>> you mind please helping me. thanks
>>>
>>  Thanks for your Attention But i use viewBox inside a graphicsView and i 
> want the image that displaying inside 
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/35c54115-c38a-478d-92ff-53ef06452967%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to