Copying image to buffer before WriteChunk.  It displays much faster now