EasyBMP example¶
Introduction¶
Description¶
Py++ has been used to create Python bindings for EasyBMP library. Before proceeding with this example, I should say, that I did not work with EasyBMP at all. I have seen it’s announcement on www.freshmeat.org site and decided to test Py++ with “real world” project. It took me 30 minutes, to create full working python version of this library. These examples consist few files and directories:
- environment.py - contains different environment settings
- generate_code.py - contains source code needed to generate Boost.Python bindings for EasyBMP library.
- sconstruct - build configuration file
- generated - directory that contains all generated code and only it
- unittests - directory that contains grey scale example from tutorials. C++
I run grey scale example on
and this is what I have got: