graphics/ jpg.bi

Summary
graphics/ jpg.bi
LicenseCopyright © 2009, FreeBASIC Extended Library Development Group
ext. gfx.jpg
Functions
loadLoads a JPEG image to a FB.IMAGE 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. gfx.jpg

Summary
Functions
loadLoads a JPEG image to a FB.IMAGE buffer.

Functions

load

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

Loads a JPEG image to a FB.IMAGE buffer.

Parameters

filenamethe file to load.

Returns

FB.IMAGE ptr containing the jpg data.  Does not work with grayscale images at this time.

declare function load (byref filename as const string) as FB.IMAGE ptr
Loads a JPEG image to a FB.IMAGE buffer.