Prepare separation of imagebuffer and image