Hello again,
I tryed to load pictures with the gflLoadBitmapFromMemory / gflLoadBitmapFromHandle functions.
I first tested .bmp files, and that was OK.
But when it came to .exr or .wlm files, the gflLoadBitmapFromMemory / gflLoadBitmapFromHandle returned GFL_ERROR_UNKOWN_FORMAT, as if they did not support the plugins.
Those files are compatible with the plugins, since I tryed to load them with gflLoadBitmap(...), and encountered no error in that process.
Are plugins loaded in the gflLoadBitmapFromMemory and gflLoadBitmapFromHandle ? (that would explain my difficulties to read those pictures :p)
gflLoadBitmapFrom[Memory/Handle] with Plugins
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 44487
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: gflLoadBitmapFrom[Memory/Handle] with Plugins
Not all plugins are supported in GFL, such as WLMpber wrote:Hello again,
I tryed to load pictures with the gflLoadBitmapFromMemory / gflLoadBitmapFromHandle functions.
I first tested .bmp files, and that was OK.
But when it came to .exr or .wlm files, the gflLoadBitmapFromMemory / gflLoadBitmapFromHandle returned GFL_ERROR_UNKOWN_FORMAT, as if they did not support the plugins.
Those files are compatible with the plugins, since I tryed to load them with gflLoadBitmap(...), and encountered no error in that process.
Are plugins loaded in the gflLoadBitmapFromMemory and gflLoadBitmapFromHandle ? (that would explain my difficulties to read those pictures :p)
To be able to load exr, you must have IlmImf.dll in Plugins folder
Pierre.
-
- Posts: 9
- Joined: Tue Feb 26, 2008 5:27 pm
I have those, and the MSVCP71.DLL files.
That's maybe why I can load .exr files with the gflLoadBitmap function.
And I also have the Xwlm.dll file in the correct folder. Allowing me to load .wlm files with gflLoadBitmap function.
But I can find no reason for not being able of loading the files with the gflLoadBitmapFromHandle function.
That's maybe why I can load .exr files with the gflLoadBitmap function.
And I also have the Xwlm.dll file in the correct folder. Allowing me to load .wlm files with gflLoadBitmap function.
But I can find no reason for not being able of loading the files with the gflLoadBitmapFromHandle function.
-
- Author of XnView
- Posts: 44487
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Ok, some format like EXR works on file and not handle, so *FromHandle is not possiblepber wrote:I have those, and the MSVCP71.DLL files.
That's maybe why I can load .exr files with the gflLoadBitmap function.
And I also have the Xwlm.dll file in the correct folder. Allowing me to load .wlm files with gflLoadBitmap function.
But I can find no reason for not being able of loading the files with the gflLoadBitmapFromHandle function.
Pierre.
-
- Posts: 9
- Joined: Tue Feb 26, 2008 5:27 pm