Package: cairo
Function cairo:surface-write-to-png
Lambda Listcairo:surface-write-to-png (surface path) ArgumentsReturn Value :success if the PNG file was written successfully. Otherwise, :no-memory if memory could not be allocated for the operation or :surface-type-mismatch if the surface does not have pixel contents, or :write-error if an I/O error occurs while attempting to write
the file. Details
Writes the contents of the image surface to a new file as a PNG image. | See also |
2025-1-13