SaveAsTGA Method

See Also     Examples     Applies To

Saves the native GdPicture image as Truevision TARGA image format.

Syntax

object.SaveAsTGA (sFilePath)

The SaveAsTGA syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
sFilePath Required. String. The complete file path to save the native GdPicture image.

Returns

Long. GdPictureStatus

Remarks

This function works only with 8-bits, 16-bits, 24-bits and 32-bits images.
Use the IsPixelFormatHasAlpha() function to check if the native GdPicture image has an alpha component.
WARNING: You need to redistribute the optional gdimgplug.dll library in order to be able to use this function.

Category

Save and Close Image





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.