EXR images not loading

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

ChelOis
Posts: 8
Joined: Fri Apr 21, 2023 2:42 pm
Location: Buenos Aires, Argentina

EXR images not loading

Post by ChelOis »

Hi, I noticed that XnViewMP does not load EXR images located in folders whose paths contain international characters.

Expected behavior: EXR files should open like any other type of image.

Thanks.
User avatar
xnview
Author of XnView
Posts: 45254
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: EXR images not loading

Post by xnview »

on windows?
Pierre.
ChelOis
Posts: 8
Joined: Fri Apr 21, 2023 2:42 pm
Location: Buenos Aires, Argentina

Re: EXR images not loading

Post by ChelOis »

Yes, Windows 10.
User avatar
xnview
Author of XnView
Posts: 45254
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: EXR images not loading

Post by xnview »

right a known issue
Pierre.
jvgfx
Posts: 3
Joined: Sat Jul 15, 2023 1:22 pm

Re: EXR images not loading

Post by jvgfx »

Hello! XnView 1.50 cannot read exr files. The latest version that correct works with exr - XnView 1.43
I checked some versions XnView from 1.41 to 1.5
version 1.43 has the old exr library, and 1.44 and newer have new Open exr 3.2

OS Ubuntu 20.04.6
ChelOis
Posts: 8
Joined: Fri Apr 21, 2023 2:42 pm
Location: Buenos Aires, Argentina

Re: EXR images not loading

Post by ChelOis »

jvgfx wrote: Sat Jul 15, 2023 1:30 pm Hello! XnView 1.50 cannot read exr files. The latest version that correct works with exr - XnView 1.43
I checked some versions XnView from 1.41 to 1.5
version 1.43 has the old exr library, and 1.44 and newer have new Open exr 3.2

OS Ubuntu 20.04.6
XnViewMP 1.5.0 on Windows 10 x64 can open EXR images as long as they are located in folders whose paths do not contain international characters.
User avatar
xnview
Author of XnView
Posts: 45254
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: EXR images not loading

Post by xnview »

jvgfx wrote: Sat Jul 15, 2023 1:30 pm Hello! XnView 1.50 cannot read exr files. The latest version that correct works with exr - XnView 1.43
I checked some versions XnView from 1.41 to 1.5
version 1.43 has the old exr library, and 1.44 and newer have new Open exr 3.2

OS Ubuntu 20.04.6
could you post the exr file?
Pierre.
jvgfx
Posts: 3
Joined: Sat Jul 15, 2023 1:22 pm

Re: EXR images not loading

Post by jvgfx »

Thanks for the answer,
For example, I'm downloaded 4k version - https://polyhaven.com/a/kloofendal_38d_partly_cloudy
direct link https://dl.polyhaven.org/file/ph-assets ... udy_4k.exr

XnView newer than 1.43 cannot view many other exr files from this site, hdr format - work without problems.

PS below I attach screens from 1.43 and 1.45 XnView
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 45254
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: EXR images not loading

Post by xnview »

in XnView/Plugins, please make symbolic links

Code: Select all

ln -s libIex-3_2.so libIex-3_2.so.29
ln -s libIlmThread-3_2.so libIlmThread-3_2.so.29
ln -s libImath-3_2.so libImath-3_2.so.29
Pierre.
jvgfx
Posts: 3
Joined: Sat Jul 15, 2023 1:22 pm

Re: EXR images not loading

Post by jvgfx »

Thanks a lot! Now everything works fine!
terrypxm
Posts: 8
Joined: Sat Sep 23, 2023 7:24 am

Re: EXR images not loading

Post by terrypxm »

The same thing is happening to me, I'm running Pop!_Os 22.04 LTS (Based on Ubuntu).
Xnview 1.5.5

Trying to troubleshot I found that I already had the symbolic links in place, I tried deleting and recreating it but it didn't worked. I also have the openexr libraries on the system and other programs seem to load them just fine, any help would be appreciate it.
Screenshot from 2023-09-23 02-34-14.png
Clipboard 1.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 45254
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: EXR images not loading

Post by xnview »

terrypxm wrote: Sat Sep 23, 2023 7:58 am The same thing is happening to me, I'm running Pop!_Os 22.04 LTS (Based on Ubuntu).
Xnview 1.5.5
In 1.5.5, the links problem is fixed. could you send a exr sample?
Pierre.
terrypxm
Posts: 8
Joined: Sat Sep 23, 2023 7:24 am

Re: EXR images not loading

Post by terrypxm »

Sure, thanks for the reply.

https://www.dropbox.com/t/7LXIPfQbUhLPPVkt
User avatar
xnview
Author of XnView
Posts: 45254
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: EXR images not loading

Post by xnview »

i've tried on ubuntu 23 and no problem. If you start it from terminal, do you see something when selecting the .exr?
Pierre.
terrypxm
Posts: 8
Joined: Sat Sep 23, 2023 7:24 am

Re: EXR images not loading

Post by terrypxm »

When I select an .exr:

Code: Select all

############################################ InfoPropertiesView

Create Tree : File
###  checkChanged : 10
######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL /home/terry/Desktop/Bounce_Card_Gold_sm.exr 
BitmapLoadThread :: stop()
## BitmapLoadThread :: load -1 -1 
## Bitmap :: load 0 
###### GFF:load </home/terry/Desktop/Bounce_Card_Gold_sm.exr>
######### CategoryModel :: checkAndSave()
my_error_exit...<Not a JPEG file: starts with 0x76 0x2f>
## MyView::onLoaded </home/terry/Desktop/Bounce_Card_Gold_sm.exr> </home/terry/Desktop/Bounce_Card_Gold_sm.exr> </home/terry/Desktop/Bounce_Card_Gold_sm.exr> (0) 
## MyView::onLoaded ok 
MyView::change /home/terry/Desktop/Bounce_Card_Gold_sm.exr 
## Bitmap :: load 0 
###### GFF:load </home/terry/Desktop/Bounce_Card_Gold_sm.exr>
my_error_exit...<Not a JPEG file: starts with 0x76 0x2f>


############################################ InfoPropertiesView
When I double-click it:

Code: Select all

## onItemPressed
       [app] Set Language to en_US.UTF-8, Numbers to C
       [prefs] Reading preferences from "/home/terry/.filmaura/mrv2.prefs".
       [prefs] Loaded color themes from "/usr/local/mrv2-v0.7.5-Linux-64/colors/mrv2.colors".
       [ocio] Setting OCIO config from OCIO environment variable.
       [prefs] Path mappings have been loaded from "/home/terry/.filmaura/mrv2.paths.prefs".
       [prefs] Loading hotkeys from "/home/terry/.filmaura/mrv2.keys.prefs".
       [ocio] OCIO config is now:
       [ocio] /media/terry/LWORK/Dropbox/00_Settings/OCIO/RedshiftOCIOConfigs-main/redshift-custom-config/config.ocio
In this case mrv2 is the associated program.