freeimage.h

FreeImage_SetPluginEnabled

DLL_API int DLL_CALLCONV FreeImage_SetPluginEnabled(FREE_IMAGE_FORMAT fif, BOOL enable);

Activa o desactiva un plugin. Un plugin desactivado no puede ser usado para importar o exportar mapas de bits, ni tampoco podrá identificar mapas de bits. Cuando es invocada, ésta función retorna el estado previo del plugin (TRUE/1 o FALSE/0), o –1 si el plugin no existe.