Temporarily create an image surface