GraphicsFormats Xojo plugin

RawGIFImporter.OpenFromFile Method

Opens a GIF Image from a file, returning the first frame only if it is animated GIF.

OpenFromFile(
   f as FolderItem) as RawBitmap

Parameters

f
The FolderItem to open the image from.

Returns

RawBitmap
Returns the imported Picture as RawBitmap.

Remarks

Use OpenAllFramesFromFile if wanting to get all frames.

See Also

RawGIFImporter Class