CImage:Object CImage:PixelBytes

CImage:Path


The Path method returns as a string the full pathname for the image attached to the CImage.

Syntax

sPath = CImage:Path()

sPath = CImage:Path( nMaxChars )

Example

Suppose a CImage object I is attached to an image. Then

I = CImage:new()

-- Create a new CImage

Printf( "%s\n", I:Path() )

-- print all characters in the pathname.

Printf( "%s\n", I:Path(50) )

-- print, at most, 50 characters

Related Topics

CImage, CSplitpath