Surface_save - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Saves the indicated surface externally as an image file on the computer.

Parameters

  • id, index of the surface
  • fname, file name or path to save the surface at

Return Values

This function has no return values.

Example Call

surface_save(surf, "surface.png");

Demonstrates saving a surface as a portable network graphic relative to the working directory. NOTOC