internal static extern uint ConvertToType(uint dib, FreeImageType type, int scale);
internal static extern bool FIFSupportsExportType(FIF format, FreeImageType ftype);
internal static extern uint AllocateT(FreeImageType ftype, int width, int height, int bpp, uint red_mask, uint green_mask, uint blue_mask);