Access Cairo surface from numpy and pygame

Category: Python - Miscellaneous

This script aliases the memory from a cairo surface so that you can manipulate the bits as a numpy array, or display/manipulate the image in pygame. Date: 13 March, 2012


Cairo Surface - Numpy Use - Pygame Demo - Cairo - Surface - Pygame

Homepage: http://code.activestate.com

Developer: code.activestate.com

License: Freeware

Operating System: Windows, Linux, Mac OS, BSD, Solaris

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

This script aliases the memory from a cairo surface so that you can manipulate the bits as a numpy array, or display/manipulate the image in pygame.

developer Developer: code.activestate.com
license License: Freeware
operating systems Operating System: All


The amplitude, height, depth and the speed of the waves can be changed from the configuration file.

developer Developer: mathworks.com
license License: Freeware
operating systems Operating System: All


It uses the Pierson-Moskowitz spectrum for the frequency/wave-number dependency and four different types of angular spreading like cosinus-squared, Mitsuyasu, Hasselmann and none.

developer Developer: mathworks.com
license License: Freeware
operating systems Operating System: All


The output figures will show effects of the number of series terms and use of the Lanczos sigma factors to smooth the Gibbs oscillations.

developer Developer: mathworks.com
license License: Freeware
operating systems Operating System: All


You have to put points in a rectange.

developer Developer: planet-source-code.com
license License: Freeware
operating systems Operating System: All


OcempGUI is a small toolkit, which comes with various modules suitable for event management, user interfaces, 2D drawing and accessibility.

developer Developer: SourceForge.net
license License: Freeware
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


This script represents a user interface made for Pygame.

developer Developer: SourceForge.net
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


Ammap is an interactive flash map creation software.

developer Developer: ammap.com
license License: Artistic License, GNU General Public License (GPL)
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris


It can be used to measure the total concentration of carbohydrate, protein, and lipid contents from solid wastes.

developer Developer: mathworks.com
license License: Freeware
operating systems Operating System: Windows, Linux, Mac OS, BSD, Solaris