<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules >





FreeImage is an Open Source library project for developers who would like to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others.


How to do?


FreeImage functionalities are implemented using a wrapper developed by José Roca.


To use FreeImage functionalities inside a script just add the following line of code:


 #include "%APP_INCLUDEPATH%\FreeImage.INC"


This line will tell thinBasic to load all FreeImage functionalities from an include file.

All FreeImage interface functions are inside the library called "FreeImage.DLL".


See examples in thinBasic\SampleScripts\FreeImage\ directory to have an initial idea on how to use FreeImage in your scripts.


For more info and additional documentation please refer to official FreeImage web site at :





Important notes about FreeImage include file


A big thanks to José Roca and his fantastic web site