* Faster image creation by intermediate buffer (from Olivier Chafik)