Previous - Images Section Home - Images Next - imgFromMember


imgOpen ( )

Opens an image file into Rosetta's image buffer

Usage:

imgOpen (object me, string filePath)

Parameters:

filePath (string) - The path to an existing image

Returns:

(integer) - The success code

Example:

xtRose = xtra("Rosetta").new( )
xtRose.imgOpen( "C:\windows\winnt.bmp" )

Notes:

The file extension in filePath is automatically parsed to determine the decoding image format. The image file extensions supported for open are BMP, GIF, JPG, JPEG, PNG, TIF, TIFF, TGA, ICO, PCX, J2K, JP2, JPC and WMF.


Previous - Images Section Home - Images Next - imgFromMember