Groups
Groups
Sign in
Groups
Groups
pyqtgraph
Conversations
About
Send feedback
Help
getting latest image data in imageview
28 views
Skip to first unread message
mohammad sarvi
unread,
Aug 11, 2018, 10:03:51 AM
8/11/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyqtgraph
I need to have a latest image data that displaying in imageview , would you mind please helping me. thanks
Patrick
unread,
Aug 12, 2018, 11:40:42 PM
8/12/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyqtgraph
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
)
mohammad sarvi
unread,
Aug 13, 2018, 5:54:33 AM
8/13/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyqtgraph
در دوشنبه 13 اوت 2018، ساعت 8:10:42 (UTC+4:30)، Patrick نوشته:
Thanks for your Attention But i use viewBox inside a graphicsView and i want the image that displaying inside
Patrick
unread,
Aug 13, 2018, 8:41:10 PM
8/13/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyqtgraph
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.)
Reply all
Reply to author
Forward
0 new messages