OpenFileHeader Data Member Function

Opens an image file, but only reads the header information, not the full image. Use to retrieve image dimensions and format without the expense and memory of the reading the pixels, or to simply test if the image can be loaded.

Prototype

int32 OpenFileHeader( string p_sFilename )

Parameters

Parameter Type Parameter Name Documentation
stringp_sFilenameThe source image file name to open.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.