graphics/ img_load.bi

Summary
graphics/ img_load.bi
LicenseCopyright © 2009, FreeBASIC Extended Library Development Group
ext
Functions
LoadImageLoads a image file from disk to a FBGFX buffer.

License

Copyright © 2009, FreeBASIC Extended Library Development Group

Distributed under the FreeBASIC Extended Library Group license.  See accompanying file LICENSE.txt or copy at http://code.google.com- /p- /fb-extended-lib- /wiki- /License

ext

Summary
Functions
LoadImageLoads a image file from disk to a FBGFX buffer.

Functions

LoadImage

declare function LoadImage (byref filename as const string) as FB.IMAGE ptr

Loads a image file from disk to a FBGFX buffer.

Supports TGA, JPG, BMP and PNG images.

Parameters

filenamethe file to load.

Returns

Pointer to FBGFX buffer.

declare function LoadImage (byref filename as const string) as FB.IMAGE ptr
Loads a image file from disk to a FBGFX buffer.