#libopenraw

2024-09-25

Are you serious about #photography on #Linux ?

Then you probably used #code derived from #dcraw . It's an amazing store of information about developing raw pictures.

But there's one problem.

It's write-only code. My mind goes blank when I read it.

Thankfully, someone started a readable library for raw files, called #libopenraw :

gitlab.freedesktop.org/libopen

I ported Panasonic #decompression and made it possible to understand :D

(#Fedora plz package it)

#opensource #programming #freesoftware

2024-04-22

If you like #ReverseEngineering , go ahead and take a look at #dcraw . It's one of the finest examples of write-only C code bases I've had the displeasure to learn from.

dechifro.org/dcraw/dcraw.c

case 274: /* Orientation */
tiff_ifd[ifd].flip = "50132467"[get2() & 7]-'0';

I dig that #libopenraw is now fixing that. And not even because it's in #Rust. I can actually follow the code!

gitlab.freedesktop.org/libopen

#programming #opensource #photography #C

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst