For practical reasons, photos that you #ShotOnLibrem5 are processed into JPEGs with lower quality than what the camera can do. There are some (complex) ways in which this processing could be made faster and therefore cram more pixels and algorithms that make things prettier, but meanwhile...
Each photo you take is stored as both raw DNG and processed JPG - so you can go back to raw data and retroactively gain quality. See https://dosowisko.net/l5/photos/ for an example.
(cont.)
Seems like nobody was reaching for this low-hanging fruit, so I did it myself:
"Glowup" is a quickly hacked up thing that lets you glow your Librem 5 photos up with one click right on the phone, using #darktable and about 30 seconds of processing.
https://gitlab.com/dos1/glowup
#librem5 #mobilelinux #linuxmobile #linuxsmartphones #shotonlibrem5 #catsofmastodon (late)#caturday #myfirstlibadwaitaapp 😜
It just uses a single preset and doesn't let you adjust anything, but it's a start - some photos already glow up a lot with it. The obvious next step would be adjusting parameters in the XMP file; not a rocket science, darktable does everything for us already.
It probably needs to be fully rewritten before adding stuff, but it's just 400 lines of hardcoded UI code in Python, so that could be someone's one-afternoon project 😜
@dos I just want to make the phone directly upload the DNGs to my server and postprocess in the webUI
@dos Nice (cat)!!
@janvlug It appears that he's moving in, but still needs to work on gaining approval of other tenants 😺
@dos would this work with photos taken with the Pinephone as well?
@jawsh If you create an appropriate calibration profile and preset, then sure - though you'll likely also need quite a bit of patience when running it on the PinePhone ;)
@dos I would love an official #darktable calibration preset for the #librem5. On a scale from 1 to 10, how experimental is the `librem5.xml`?
@cocolinofan It's better than nothing, but definitely not something that should go into Lensfun database. It needs proper calibration samples, the ones I took so far suck in a way or another.
@dos I really like how this reduces the grain in low light. It does plenty of other nice things to the shots but that’s my favourite.
@williamtries One of the obvious next steps would be to adjust denoising strength based on sensor gain value. For now I've kept the strength fairly low to not unnecessarily lose detail in well lit photos, but poorly lit ones could sure use a bit more.
@dos Amazing work!
@dos at fist sight I thought it was a photo gallery app !
If possible how would i get this working on my pinephone?
@hello_fellow_humans It will run just the same way, but for its results to make sense you'd have to prepare a Lensfun calibration profile for the PinePhone camera and likely adjust the sidecar file a bit.
@dos pinephone pro camera quality make those backrooms footage videos look high quality
@dos unfortunately they still haven't sent me a phone, though I made backing. At the start of last year they asked for address and... thats it.
@mykolak Maybe your response got lost in transit? Get in touch with support, your phone is waiting for you: https://puri.sm/posts/we-have-your-phone-ready-to-ship/
@dos thank you, I'll try it.
The same applies for videos too (which are even lower res).
I found this out when I recorded videos of > 10 min and #millipixels crashed when I ran out of disk space.
Turned out (I never really looked into this previously) that it will just dump all the DNGs to /tmp/ and this will get cleaned up after encoding into a movie is done.
Having it crashed allowed me to rsync the files to my laptop where it is waiting for me to produce what I hope to be high quality video!
@devrtz ooooh when it comes to videos there's *much* more low hanging fruits to optimize there!
I guess you were thinking about e.g. https://source.puri.sm/Librem5/millipixels/-/issues/81 ?
@devrtz Yeah, and the overhead of shelling out to separate process for each frame is likely not insignificant too 😅
That said, you don't need huge powerful but complex tools like #darktable or #rawtherapee to make your photos look better. Imagine a simple to use app that lets you do basic stuff on the phone, like white balance or contrast correction, which could then take its time exporting at full res with all the heavy noise reduction algos without annoying the user while taking photos.
Does that sound like something you'd like to work on? 😁
#mobilelinux #linuxmobile #linuxsmartphones #librem5 #pinephone