-
-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
"Failed to read attribute" error message on Big Endian platform? #189
Comments
There was a Big Endian support in TinyEXR when I had a SPARC CPU(8~9 years ago!), but not maintained in recent years. @s-trinh Something may be still missing to support Big Endian in recently added codes You may find an issue in ReadAttribute by dumping its content. Line 1029 in 02310c7
Contribution of Big Endian support is much appreciated! Line 3161 in 02310c7
|
Thanks for your answer 👍 |
* Remove macos-12 from ios github action * Add support of I/O EXR image format in order to have a standardized file format for float images. * Fix build around exception handling in EXR image * Somehow using FreeEXRImage() and FreeEXRHeader() segfault the program. Looks like free() should be used: https://github.com/syoyo/tinyexr/blob/02310c77e5156c36fedf6cf810c4071e3f83906f/test/unit/tester.cc#L1311-L1313 ? * Add the OpenCV backend for EXR image reading / saving. * Try automatically checkout ViSP-images with the correct branch. * Try fallback to the master branch. * Try automatically checkout ViSP-images with the correct branch. * Try cloning the same branch name of ViSP-images or the master branch otherwise. * Add the OpenCV backend for EXR image reading / saving. Automatically checkout ViSP-images with the correct branch. Add fallback to the master branch. * Clone the same branch name of ViSP-images or the master branch otherwise. * Update accordingly the image filepaths. * Disable the EXR tests on big endian platform, see: syoyo/tinyexr#189 * Add the doc. * Update some remaining image paths to use the png image format. --------- Co-authored-by: Fabien Spindler <Fabien.Spindler@inria.fr>
Describe the issue
when testing to read an EXR file on a Build on ubuntu20.04 s390x (Big Endian) platform.
To Reproduce
Steps to reproduce the behavior:
Version at: 3c8e0cb
2. Load EXR Image memorial_color_32bits.exr
3. See error:
I suspect an issue with endianness since it occurs specifically on this platform: Build on ubuntu20.04 s390x (Big Endian).
Otherwise, did I miss checking something when reading the EXR file?
This is the code used.
Many thanks.
The text was updated successfully, but these errors were encountered: