Cyrest : How to save the image obtained with Image() from IPython.display

2,263 views
Skip to first unread message

Pascal KREZEL

unread,
Jan 6, 2017, 9:31:18 AM1/6/17
to cytoscape-helpdesk
Hi,

I would to make a gif like in this file.
I thought that it could be easy to save the png image obtained with network.get_png() but I didn't succed.

Can anyone tell me how to save this object in a  png file ?

Sincerely.

Pascal

Kei

unread,
Jan 12, 2017, 12:31:52 PM1/12/17
to cytoscape-helpdesk
HI.

It's just a binary data object.  You can use standard python function to write it into a file.  

Here is the code snippet:


Kei

2017年1月6日金曜日 6時31分18秒 UTC-8 Pascal KREZEL:

Pascal KREZEL

unread,
Jan 13, 2017, 11:43:46 AM1/13/17
to cytoscape-helpdesk
Hi Kei,

Thank you !

Pascal
Reply all
Reply to author
Forward
0 new messages