bmap_save(BMAP*, STRING* name)

 LC  Speichert eine Bitmap in eine Bilddatei.

Parameter:

BMAP* Bitmap-Pointer.
name Name der Bilddatei in .jpg, .png, .bmp, .dds oder .tga-Format, Sting* oder char*

Bemerkungen:

Beispiel:

function main() 
{
  wait(1); // video device must be openend for saving bitmaps
  BMAP* b = bmap_createblack(123,456,24);
  bmap_fill(b,vector(255,0,0),100);
  bmap_save(b,"blue.png");
}

Siehe auch:

BMAP, bmap_purge, bmap_load

► Aktuelle Version Online