SSIMULACRA2 not reading jxl photos
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- computer-vision
Research direction
Start by reproducing ssimulacra2 input.png output.jxl with the reported libjxl-enabled build and inspect the image-loading path used for output.jxl. Improve the diagnostic output so the failed JPEG XL load reports its underlying reason, then verify the message while comparing a PNG with a JPEG XL image.
Written by the indexing model from the issue text.
Description
I built ssimulacra with libjxl support:
ldd ssimulacra2
linux-vdso.so.1 (0x00007fb2ad75e000)
libjxl.so.0.12 => /root/tools/ssimulacra2/libjxl/build/lib/libjxl.so.0.12 (0x00007fb2ad000000)
libjpeg.so.62 => /lib/x86_64-linux-gnu/libjpeg.so.62 (0x00007fb2ad5e6000)
libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007fb2ad5ae000)
libjxl_cms.so.0.12 => /root/tools/ssimulacra2/libjxl/build/lib/libjxl_cms.so.0.12 (0x00007fb2ad57a000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fb2acc00000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb2acf10000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fb2ad54b000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb2aca0b000)
/lib64/ld-linux-x86-64.so.2 (0x00007fb2ad760000)
libbrotlidec.so.1 => /root/tools/ssimulacra2/libjxl/build/third_party/brotli/libbrotlidec.so.1 (0x00007fb2ad53c000)
libbrotlienc.so.1 => /root/tools/ssimulacra2/libjxl/build/third_party/brotli/libbrotlienc.so.1 (0x00007fb2ac950000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fb2ad51a000)
libbrotlicommon.so.1 => /root/tools/ssimulacra2/libjxl/build/third_party/brotli/libbrotlicommon.so.1 (0x00007fb2ad4f7000)
However when I try to compare a png to a jpeg xl I get this error:
ssimulacra2 input.png output.jxl
Could not load distorted image: output.jxl
Any way I could get a bit more logs on what exactly fails?
- Dominant language
- C++
- Stars
- 324
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudinary/ssimulacra2
-
Difficulty 2/5 Under an hour Newbie friendliness 22/100
cloudinary/ssimulacra2#18 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
cloudinary/ssimulacra2#17 · 4 comments ·
All issues in cloudinary/ssimulacra2
Similar issues
-
std::fdim drops partial derivative w.r.t second argument in forward and reverse modePossibly taken @ADITYASINGH1206 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
vgvassilev/clad#2534 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 61/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 3 days
-
HAP.cpp fixOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100