Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

save-texture

Arguments: texture texture-info filename

Creates a device-independent bitmap file (whose filename typically has extension .bmp) from a texture and an associated texture-info structure.

The arguments are as follows. texture is a two-dimensional array of pixel values. texture-info is a texture-info structure which is used to determine the colormap and bits-per-pixel for the texture file. The bits-per-pixel can be larger than is reflected by the element-type of the array; thus you can save a 4-bits-per-element array as an 8-bits-per-pixel .bmp file. filename is a string naming the complete pathname of the bitmap file to be created. This filename should typically have extension .bmp.


Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version