TImage_Save

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > TImage >

TImage_Save

 

Description

 

Save to disk a previously loaded image.

 

Syntax

 

lRet = TImage_Save(ImageID, sImageFullPathName, lType)

 

Returns

 

Numeric.

The function returns a non-zero value if successful

 

Parameters

 

Name

Type

Optional

Meaning

ImageID

Number

No

The unique ID used during TImage_Load.

sImageFullPathName

String

No

The filename and path where to save the new image file.

lType

Number

No

One of the following equates indicating the image file format:

%TImage_BMP

%TImage_JPG

%TImage_PNG

 

Remarks

 

Restrictions

 

See also

 

Examples