Native EXR format support or 64-bit plugin ?
Moderators: XnTriq, helmut, xnview
-
- Posts: 52
- Joined: Fri Aug 18, 2006 7:08 pm
Native EXR format support or 64-bit plugin ?
Can you add native support for EXR images to GFLSDK, rather than having to use a plugin ?
Alternatively, can you provide a 64-bit version of IlmImf.dll, which works with the 64-bit unicode version of GFLSDK ?
Thanks in advance!
Alternatively, can you provide a 64-bit version of IlmImf.dll, which works with the 64-bit unicode version of GFLSDK ?
Thanks in advance!
-
- Author of XnView
- Posts: 44572
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Native EXR format support or 64-bit plugin ?
OpenEXR can only be as a plugin, and you can try the dll from XnConvert 64bits
Pierre.
-
- Posts: 52
- Joined: Fri Aug 18, 2006 7:08 pm
Re: Native EXR format support or 64-bit plugin ?
Can't get it to work. IS the one included in XnConvert x64 a unicode version ?
If not, can you provide an x64 unicode build of it (and for completeness, an x86 unicode build) ?
If not, can you provide an x64 unicode build of it (and for completeness, an x86 unicode build) ?
-
- Author of XnView
- Posts: 44572
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 52
- Joined: Fri Aug 18, 2006 7:08 pm
Re: Native EXR format support or 64-bit plugin ?
I think you're correct about it being UTF-8.
Is it possible to change the unicode/Wide versions of GFLSDK so that it works correctly with the UTF OpenEXR DLL (and any other plugin DLL's, if possible) - converting between unicode and UTF-8 where necessary. Otherwise it means you have to use the ANSI version of GFL if you want to support OpenEXR or any of the other plugins.
In case you need a routine to convert between Unicode and UTF-8, check out http://weblogs.asp.net/kennykerr/archiv ... utf-8.aspx
Let me know if you want me to test anything.
Is it possible to change the unicode/Wide versions of GFLSDK so that it works correctly with the UTF OpenEXR DLL (and any other plugin DLL's, if possible) - converting between unicode and UTF-8 where necessary. Otherwise it means you have to use the ANSI version of GFL if you want to support OpenEXR or any of the other plugins.
In case you need a routine to convert between Unicode and UTF-8, check out http://weblogs.asp.net/kennykerr/archiv ... utf-8.aspx
Let me know if you want me to test anything.
-
- Posts: 52
- Joined: Fri Aug 18, 2006 7:08 pm
Re: Native EXR format support or 64-bit plugin ?
I've just compiled the Win32 C example (provide with GFL SDK), with both VS2005 and VS2010, and copied over all the XnView plugins to the plugins folder, and some of the plugins don't seem to work. For example, 3DSMax and Djvu do work and are listed in the Available formats dialog, but OpenEXR/EXR is not. There may be other plugins that don't work, but I only checked those three.
XnView has no problems picking up the OpenEXR plugin and displaying images in this format.
Can you confirm whether EXR is working for you with the GFL SDK win32 C example ?
XnView has no problems picking up the OpenEXR plugin and displaying images in this format.
Can you confirm whether EXR is working for you with the GFL SDK win32 C example ?
-
- Posts: 52
- Joined: Fri Aug 18, 2006 7:08 pm
Re: Native EXR format support or 64-bit plugin ?
Just noticed a bug in XnView, OpenEXR is listed twice on the Supported Formats dialog. Also, OpenEXR is not listed on the Plugins dialog, even when installed.
Any chance of a fix for GFL SDK to get it working with EXR images ?
Any chance of a fix for GFL SDK to get it working with EXR images ?
-
- Posts: 52
- Joined: Fri Aug 18, 2006 7:08 pm
Re: Native EXR format support or 64-bit plugin ?
I had a look at the current GFL DLL's, and previous versions, and it looks like OpenEXR support disappeared after GFL 2.70. I couldn't check 2.80, 2.82, 2.90 or 3.05, but 2.70 has support for IlmImf.dll, but 3.10 and 3.40 don't have support for it.
Would it be possible to add OpenEXR support back in to GFL SDK (and any other native/plugin formats that may have disappeared) ?
Would it be possible to add OpenEXR support back in to GFL SDK (and any other native/plugin formats that may have disappeared) ?
-
- Author of XnView
- Posts: 44572
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 52
- Joined: Fri Aug 18, 2006 7:08 pm
Re: Native EXR format support or 64-bit plugin ?
Would it be possible to convert the Unicode to UTF-8 when using the IlmImf.dll in the Unicode/Wide versions of GFL ?
Also, do you have any timescale of when a new version of GFL will be available with OpenEXR support added back in (in case you post a test build here, can you post the 64-bit Wide/Unicode version) ?
Thanks in advance!
Also, do you have any timescale of when a new version of GFL will be available with OpenEXR support added back in (in case you post a test build here, can you post the 64-bit Wide/Unicode version) ?
Thanks in advance!
-
- Posts: 3
- Joined: Thu Aug 11, 2016 2:36 am
Re: Native EXR format support or 64-bit plugin ?
Hi,
I just installed GFL SDK for my own QT image browser app and it was a breeze to read several formats, but I am stuck with exr, the website says it supports it (http://www.xnview.com/fr/GFL/#formats), but the gflLoadBitmap always end up with GFL_ERROR_UNKNOWN_FORMAT.
Bonjour,
J"ai installe l'excellente librairie GFL SDK pour faire une petite application avec QT qui affiche des images mais bien que le site indique que le format exr est supporte (http://www.xnview.com/fr/GFL/#formats) la fonction gflLoadBitmap renvoie systematiquement GFL_ERROR_UNKNOWN_FORMAT.
En vous remerciant pour votre attention,
Francis
I just installed GFL SDK for my own QT image browser app and it was a breeze to read several formats, but I am stuck with exr, the website says it supports it (http://www.xnview.com/fr/GFL/#formats), but the gflLoadBitmap always end up with GFL_ERROR_UNKNOWN_FORMAT.
Bonjour,
J"ai installe l'excellente librairie GFL SDK pour faire une petite application avec QT qui affiche des images mais bien que le site indique que le format exr est supporte (http://www.xnview.com/fr/GFL/#formats) la fonction gflLoadBitmap renvoie systematiquement GFL_ERROR_UNKNOWN_FORMAT.
En vous remerciant pour votre attention,
Francis
-
- Moderator & Librarian
- Posts: 6374
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Unable to open EXR files with GFL
Welcome to the forum, ftesla (-:
Download: exr.zipxnview ([url=http://newsgroup.xnview.com/viewtopic.php?p=59007#p59007]gflLoadBitmapFrom[Memory/Handle] with Plugins[/url]) wrote: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
Defenestration ([url=http://newsgroup.xnview.com/viewtopic.php?p=94914#p94914]Does GFLSDK 2.70 support OpenEXR format and HDR format ?[/url]) wrote:Just found out that you need to install msvcp71.dll and msvcr71.dll.
-
- Posts: 3
- Joined: Thu Aug 11, 2016 2:36 am
Re: Native EXR format support or 64-bit plugin ?
Hi,
Thank you for your answer.
Unfortunately I was unable to make it work:
- I placed ImfIlm.dll in Plugins folder with gflSetPluginsPathname(" call before gflLibraryInit
- I installed the msvcrt dlls
But gflLoadBitmap ends up with GFL_ERROR_UNKNOWN_FORMAT with exr files others formats works perfect.
My target is Windows 10 - Qt 5.7 - MinGW 32bits
Regards,
Francis
Thank you for your answer.
Unfortunately I was unable to make it work:
- I placed ImfIlm.dll in Plugins folder with gflSetPluginsPathname(" call before gflLibraryInit
- I installed the msvcrt dlls
But gflLoadBitmap ends up with GFL_ERROR_UNKNOWN_FORMAT with exr files others formats works perfect.
My target is Windows 10 - Qt 5.7 - MinGW 32bits
Regards,
Francis