GM: surface save part
From GMpedia.org Wiki
- The correct title of this article is surface_save_part(id,fname,x,y,w,h). It appears incorrectly here because of technical restrictions.
- The correct title of this article is surface_save_part(). It appears incorrectly here because of technical restrictions.
Arguments
id = name of the variable which holds the ID of the surface (see surface_create).
fname = Name of the file you wish to save to.
x = Left position of surface to be saved.
y = Top position of surface to be saved.
w = Width of surface to be saved.
h = Height of surface to be saved.
Limitations
none.
Note: Please remove limitations and port them in the "Remarks" section at the end of the article.
This function saves a part of the surface with the given ID to the file fname. the image is saved in the .BMP format. The image begins from the point (x,y) and has the width of w and height of h.
[edit] See Also
- Surfaces - a complete Game Maker tutorial in surfaces.
- surface_save
This article was originally found at the Game Maker Knowledge Base, contributed by Eyas Sharaiha.
See the talk page for details
See the talk page for details

