Created pixel_gen module, have not tested, although it passes syntax checks