python binding for BPG (Better Portable Graphics)