|
|
|
|
|
<Image variable>.SaveGIF (Function) In french: <Variable Image>.SauveGIF Saves an image contained in a variable of type Image: Remark: This function can only be used to save the images for screen resolutions up to 32 bits. MyImage is Image = "Test.gif" // Saves the image contained in MyImage in memory ResSave = MyImage.SaveGIF(inMemory)
Syntax
Saving an image in memory Hide the details
<Result> = <Image variable>.SaveGIF(<inMemory> [, <Number of colors>])
<Result>: Buffer Byte string containing the image in GIF format. Then, this byte string can be assigned to an Image control, saved in a file (fSaveText), sent via a network (with the Socket functions), ...
<Image variable>: Image variable Name of the Image variable to be used. <inMemory>: Constant inMemory: Constant used to save an image in memory. <Number of colors>: Optional integer Number of colors for the image saved. Value included between 16 and 256 (256 by default). This parameter corresponds to the number of colors proposed in the color palette when using the GIF file.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|