ImageSurface.highresImage

ImagePtr highresImage()

Gets a high-resolution shared image from the surface.

Returns a newly allocated shared image suitable for HiDPI displays. The caller is responsible for releasing the returned image.

Returns

ImagePtr handle to the shared image, or null on failure