derelict-fi

A dynamic binding to the FreeImage library.


Keywords
library, binding, graphics
License
BSL-1.0
Install
dub fetch derelict-fi --version 3.0.0-beta.1

Documentation

DerelictFI

A dynamic binding to the FreeImage library, version 3.17, for the D Programming Language.

Please see the sections on Compiling and Linking and The Derelict Loader, in the Derelict documentation, for information on how to build DerelictFI and load the FI libraries at run time. In the meantime, here's some sample code.

import derelict.freeimage.freeimage;

void main() {
    // Load the FreeImagee library.
    DerelictFI.load();

    // Now FreeImage functions can be called.
    ...
}