FreeImage should be able to load 48-bit HDR Images. Is your Image not corrupted? Can you open it with an Image Viewer? Have you put it in the bin/data folder? Is the Filename correct?
I already tried to open it with the display command in Ubuntu and i can see the image. I also did already put the image in the correct path , but the problem still persists.
Going of off @asper suggestions, have you tried downloading alternative HDR images from the web and then trying to load those? Do they all report and ofImage error?
No, I would not expect that loading an HDR image would break ofImage.
@sajjad, hmm. My machine had similar problems with that source and with another source I tried.
It might be the way ofImage is set up to interface with FreeImage. You could try hacking ofImage to see if you can map any progress that way. I’d take a look at the FreeImage documentation if you decide to go that route. And I’d point you towards that old discussion again, to give you an idea of what functions to use.
Or, you might try playing around with image conversions or googling tone mapping. I was able to load an HDR that was tone mapped into a 16bit PNG. I used Photoshop to tone map, though I’m sure there’s software out there better suited for tone mapping.