handle = csurface:CreateSimilarImage(format, width, height)
format parameter must
be set to a pixel format constant. See cairo.ImageSurface for details.
Initially the surface contents are all 0 (transparent if contents have transparency, black otherwise.)
Use csurface:CreateSimilar() if you don't need an image surface.
This function returns a handle to the newly allocated image surface. The caller owns the surface and should call csurface:Free() when done with it.
This function always returns a valid handle, but it will return a
handle to a "nil" surface if other is already in an error state
or any other error occurs.