Cairo module

Cousin Stanley cousinstanley at gmail.com
Wed Feb 4 17:56:07 EST 2015


> ....
> Could matplotlib be used to show the image?

  You might consider using python-imaging
  to display the image after writing it 
  from cairo .... 

  import image
  ....
  surface.write_to_png ( "x_surface.png" ) 

  img = Image.open( "x_surface.png" )

  img.show( command = 'display' )


-- 
Stanley C. Kitching
Human Being
Phoenix, Arizona



More information about the Python-list mailing list