JXR: Fixed image reading on sequential devices

The following changes are done:
- Fixed an error when copying image from sequential device
- Return error when the image exceed 4GB size on writing*
- Enabled JXR tests

(*) Note that when writing an image larger than 4GiB, the JXRLib does not give any error but the resulting saved image id wrong.
This commit is contained in:
Mirco Miranda
2024-10-09 21:34:32 +00:00
committed by Albert Astals Cid
parent 97120b2537
commit ac1006cc66
3 changed files with 22 additions and 14 deletions

View File

@ -7,3 +7,4 @@ Dependencies:
Options:
test-before-installing: True
require-passing-tests-on: [ 'Linux', 'FreeBSD', 'Windows' ]
cmake-options: "-DKIMAGEFORMATS_JXR=ON"