gfm



class  FreeImageException: object.Exception;

The one exception type thrown in this wrapper.

A failing FreeImage function should always throw an  FreeImageException.


class  FreeImage;

 FreeImage library wrapper.


this(bool useExternalPlugins = false);

Loads the FreeImage library and logs some information.

Throws
FreeImageException on error.

package nothrow void  ensureNotInGC(string resourceName);

Crash if the GC is running.

Useful in destructors to avoid reliance GC resource release.