Update to latest libraw
Hello,
Latest libraw supports Lossy compressed CR3 files and HEIF https://www.libraw.org/news/libraw-202101-snapshot
Would be great to get this. thanks
Comments (26)
-
repo owner -
reporter Thanks I am more into the CR3 compressed hhehe since will save a lot of space and from my testing I do not see any clear difference.
-
How can this be setup on Windows? - the .sh files are not native
-
repo owner I’ll try to post a python equivalent for Windows tomorrow
-
Thanks Alberto, sample for HEIF/HEIC more than 8 bits would be greatly appreciated!
-
reporter Thanks @agriggio for your work :D
-
repo owner I’ve updated https://bitbucket.org/agriggio/art/wiki/Customformats with an example for a HEIC loader in Python, which should work on Windows. Please update to the latest master of ART though, as I have fixed some issues with spawning subprocesses on windows
-
reporter When we will get the last libraw? I am really interested to save HD space, thanks.
-
repo owner I don’t know, sorry
-
reporter no hurries! thanks for your great work
It’s complex to include the latest libraw? Not sure if I can be of any help thanks.
-
repo owner It’s a bit complicated, yes, as the changes must be “cherry-picked” and incorporated by hand. My long-term plan is to switch to use libraw completely for raw decoding. This would require much less maintenance, but at the moment I don’t know when I will have time for this…
-
repo owner In the meantime, can you share a lossy compressed CR3 that I can use for testing? Thanks!
-
reporter Hello!
Wow I see the implication, such a pity.
sure here you have 2 CRAW CR3 and the 2JPEG generated by the canon EOS R5 https://mega.nz/folder/FkoUXLiY#h--wm2-Hm6sx-jyYDrIzvg
Thanks
-
repo owner thanks! Do you also have a heic by any chance?
-
reporter not handy, but tomorrow I can get one
-
repo owner thanks again for the samples! Turns out the porting was easier than I thought, so I just did it… seems to work fine from my (limited) tests, but please try this out on more images (lossless, lossy and uncompressed as well if possible) to make sure I didn’t break anything
-
reporter wow that was fast!! how can I test? Now I am using the appimage
-
repo owner Well, you’ll have to build it from source…
-
reporter I did that before, can I use the build-tool?
If I can I will test tomorrow or sunday. thanks a lot
-
repo owner Yes, you can use the build-art script in tools. Thanks!
-
reporter Hello! tested and works good! you can close this, now i need to re/setup to get all my profles etc back hehe
-
reporter - changed status to resolved
working!
-
Thank you Alberto. I tried this on Windows but am getting the error:
My setup:
Python, exiftool.exe and libheif-1.11.0-win64 are in the PATH
What do you think is the issue?
-
Just noticed that the python file should be called “heif-io.py”, not “heic-io.py”
Could you please add that to the instructions!Thank you for such swift addition of this code!
I was able to convert the raw file to .heic file and also open it in ART!
Couple of questions:- Is there a way to run this multithreaded?
- Does this default to sRGB or can this be color managed?
-
repo owner Hi,
Is there a way to run this multithreaded?
I think heif-enc itself is multithreaded, though the details depend on the compilation options and on the used encoders/decoders. You need to check the libheif docs for more info.
Does this default to sRGB or can this be color managed?
I’m not sure actually – again, this is a question for the libheif people. From the point of view of ART there’s no reason why color management should not work, but whether and how this is actually supported depends on libheif
-
repo owner - changed status to closed
- Log in to comment
Hi,
HEIF is already supported using the “custom formats” mechanism. See here: https://bitbucket.org/agriggio/art/wiki/Customformats