c++ implementation of pixelpusher software