fredmiranda.com Login

FLX Film Lab - physics-based film simulations

  
 
fjablo
Offline

p.1 #1FLX Film Lab - physics-based film simulations
Hi all,

over the last couple of months, I have been developing a film simulation app for myself. I’m quite happy with the results and so I decided to make it available to the public as a free, open-source Mac app.

The app is called “FLX Film Lab” and you can find it here: https://github.com/felixjablonka/flx-film-lab
(to install, download the .dmg file in "releases" and make sure to read the readme file, as a non-signed app like this requires running a command in Terminal once before it can be opened as normal)

What’s special about this app is that these are not just presets. Instead, the app is based on a physics model that simulates the analog photographic process: light exposes a virtual negative, which is then printed on virtual paper. And the film and paper react to light based on their spectral sensitivities as published in their respective datasheets.

The core model is based on another open-source project on github called “spektrafilm”. This is what enabled me building this app, so full credit to Andrea for his amazing idea! Definitely worth checking out and it also has a GUI, but I didn’t find it ideal for my needs, which is why I decided to build my own.

Here’s what I built with my app:
- Faster, native Mac app with more intuitive user interface
- 16 additional film stocks and a complete rebuild of the slide films
- Additional tools to make the workflow more of a hybrid between digital editing and darkroom print controls (adding pre-print exposure adjustment, graduated filters, etc.)
- Darkroom controls inspired by NegPy
- Highlight Diffusion and Bloom effects
- “Motion” mode to grade log video clips and export LUTs from the app

Here’s a flickr album that includes sample images edited with the app:
https://flic.kr/s/aHBqjCN1fw

Here are some screenshots of the user interface:
FLX Film Lab - UI Overview by Felix, auf Flickr
FLX Film Lab - UI Film Selection by Felix, auf Flickr
FLX Film Lab - Grad Filter by Felix, auf Flickr
FLX Film Lab - BW Color Filter by Felix, auf Flickr
FLX Film Lab - Dodge & Burn by Felix, auf Flickr



I am also posting this in the Leica & Alt forum, because there is a special benefit for users of Panasonic cameras:

Ultimately this process can be translated to a function of each pixel’s color (all three input channels + exposure level) and thus it can be baked into a 3D LUT. The LUT should be based on Log formats because they offer full range data before tone mapping or clipping.

For most cameras this limits the use of these LUTs to video, but on Panasonic cameras you can apply it as a Real Time LUT, using V-Log as the base picture style. This means you can get a “physically accurate” film look straight out of camera!

I have just bought a Lumix S9 and here are some straight OOC images from this morning, using Portra 800, Ektar 100 and Fuji C200 LUTs (I also had a highlight diffusion filter on the lens):

Panasonic S9 Test Shots by Felix, auf Flickr
Panasonic S9 Test Shots by Felix, auf Flickr
Panasonic S9 Test Shots by Felix, auf Flickr



I hope some of you will enjoy this app and find it useful. And I will certainly keep working on it.

Some things on my to do list for future releases:
- Crop and Rotation
- Windows support (this will need some time)
- Explore if the “print” part of the simulation can be used for more accurate film scanning without the guesswork in NLP and other film scanning apps


Cheers,
Felix
Oct 24, 2026 at 07:47 AM
RomanMF
Offline
Details
p.1 #2FLX Film Lab - physics-based film simulations
Wonderful sample images and the UI looks pretty polished.

It would be great to see support for I-Log (Insta360) & D-Log (DJI). I’ll give it a spin later today.
Oct 24, 2026 at 09:34 AM
mranger211
Offline
Details
p.1 #3FLX Film Lab - physics-based film simulations
This looks fantastic! Thank you. The sample images are also great. Plus they bring back memories of sitting in the Hofgarten
Oct 24, 2026 at 05:53 PM
RoamingScott
Offline
[X]
Details
p.1 #4FLX Film Lab - physics-based film simulations
Nice, I was hoping you'd publish this! I'll try it and post some in here soon

Are you using the Apple RAW engine to add grain?
Oct 24, 2026 at 05:56 PM
RoamingScott
Offline
[X]
Details
p.1 #5FLX Film Lab - physics-based film simulations
Pretty clean interface! A few glitches like auto brightness stops working after a bit, or some presets flip to negative and you have to uncheck "print on paper" to get them positive. If you could double click sliders to reset them to default values, that would help a ton. I hope you keep updating it!

Ultramax 400







Agfa Optimall 100







Gold 200







X-Tra 400

Oct 24, 2026 at 06:34 PM
rscheffler
Offline
Details
p.1 #6FLX Film Lab - physics-based film simulations
With each new image you open in the app, are you generally starting over with your tweaks? Or is there a way to copy/paste settings from one image onto another and also to apply those settings to multiple images? From reading the Github documentation, it sounds like this app is aimed more at deliberate one by one image editing.

Also, I'm guessing I can do my usual base edits in LR, export non-RAW files and finish them FLX? I'm just thinking about how this could be integrated into a higher volume LR-centric workflow.

Thanks also for the Nymphenburg scenes as it was one of my favourite destinations in Munich during a period when I was a frequent visitor to the city.
Oct 24, 2026 at 07:03 PM
fjablo
Offline
Details
p.1 #7FLX Film Lab - physics-based film simulations
RoamingScott wrote:
Nice, I was hoping you'd publish this! I'll try it and post some in here soon

Are you using the Apple RAW engine to add grain?


The Apple RAW engine is used for the initial conversion and some default denoise + sharpening, but grain is actually derived from the film specs. But grain and sharpness are a bit iffy still, so may need some tweaking in the future!

---------------------------------------------

RoamingScott wrote:
Pretty clean interface! A few glitches like auto brightness stops working after a bit, or some presets flip to negative and you have to uncheck "print on paper" to get them positive. If you could double click sliders to reset them to default values, that would help a ton. I hope you keep updating it!


Awesome samples, thanks for posting them here!

Yes definitely a few glitches here and there. And good idea with the sliders, will add that to my list of things to add with the next release.
Oct 25, 2026 at 12:06 AM
fjablo
Offline
Details
p.1 #8FLX Film Lab - physics-based film simulations
rscheffler wrote:
With each new image you open in the app, are you generally starting over with your tweaks? Or is there a way to copy/paste settings from one image onto another and also to apply those settings to multiple images? From reading the Github documentation, it sounds like this app is aimed more at deliberate one by one image editing.

Also, I'm guessing I can do my usual base edits in LR, export non-RAW files and finish them FLX? I'm just thinking about how this could be integrated into a higher volume LR-centric workflow.

Thanks also for the Nymphenburg scenes as it was
...Show more →

Yes at the moment the app is built for one by one image editing. But that is also something I am looking to change at some point in the future. It requires some more development work though, so will take some time.

I have never tried the app with non-RAW files. I think they will load, but I don't expect it to work well because you will have non-linear, clipped data and that is not what the physics model expects. Probably better to go the other way round: use the app for a basic film look conversion, export as Tiff and import that to Lightroom for your edits and catalogue management.


Here's my current and still growing list of things to add / change in the app in the future:

Next Release (v1.1.0):
Glitches and bug fixes
- Check „Auto Brightness“ stops working after a bit
- Fix situations where slides present as negatives and you have to manually uncheck „print on paper“ for them to render normally

Usability improvements
- Double-click sliders to reset them to default value
- Copy current film & paper selection + slider settings and paste when a new image is opened

New Tools for Stills Mode
- Crop tool including predefined aspect ratios (original, 3:2, 4:3, 5:4, 65:24) + user-defined ratios + unconstrained
- Rotate tool
- Straighten horizon tool

New Film Stocks (Harman Phoenix 200, Kodak T-Max 100, Kodak Royal Gold 100, Kodak Vericolor III)
Warming filters for slide film (similar to how Colour Filters for BW work): Tiffen 812, Tiffen 81C
Support for additional Log Formats: I-Log (Insta360), D-Log (DJI)


Future Releases:
- Multi image workflow
- Windows Version (requires different programming language, different RAW engine, etc)

Edited on Oct 25, 2026 at 01:00 AM · View previous versions
Oct 25, 2026 at 12:15 AM
RomanMF
Offline
Details
p.1 #9FLX Film Lab - physics-based film simulations
After futzing about with it some, it's certainly interesting. Many QOL improvements to be made (as I'm sure you know) but it's neat.

Kodak Gold Sim on a Leica M EV1 & LLL 35 APO shot with no further adjustments.

vs previous version I made



Raw | Portra 400 White Balance As Shot | Portra 400 Film Reference

I liked the black and white film simulations, particularly how they simulate red filter effects. Grain overall looks a bit strange to me.




Raw SOCC | Fuji Velvia 50 120 | Portra 400 120
Oct 25, 2026 at 12:21 AM
rscheffler
Offline
Details
p.1 #10FLX Film Lab - physics-based film simulations
fjablo wrote:
Usability improvements
- Double-click sliders to reset them to default value
- Copy current film & paper selection + slider settings and paste when a new image is opened


Would it be possible to add the ability to create a preset from a combination of settings?
Oct 25, 2026 at 02:02 AM
 


Search in Used Dept. 

Cloud75
Offline
Details
p.1 #11FLX Film Lab - physics-based film simulations
Nice. Agree that the grain is a bit odd, but maybe I just didn't do a great job with those sliders.

DSC07327_KodakTri-X400 by Chris, on Flickr
Oct 25, 2026 at 02:31 AM
Cloud75
Offline
Details
p.1 #12FLX Film Lab - physics-based film simulations
Looking forward to seeing that tmax sim when you've pushed a commit. So awesome that you put this up.
Oct 25, 2026 at 02:34 AM
fjablo
Offline
Details
p.1 #13FLX Film Lab - physics-based film simulations
Cloud75 wrote:
Nice. Agree that the grain is a bit odd, but maybe I just didn't do a great job with those sliders.

https://live.staticflickr.com/65535/55610944540_c074e49cb4_c.jpgDSC07327_KodakTri-X400 by Chris, on Flickr


Yep grain will definitely need an audit at some point. For now you can also leave it off, export as Tiff and do sharpening + grain in another app

T-Max is almost done. It is quite similar to Tri-X in terms of color response, but sharper.

And maybe a general tip (not for you in particular, but if someone tests the app and is surprised): most BW stocks print quite flat at the default paper grade settings, which is true to the information their negatives hold. I usually like them a bit more punchy so I set contrast to +30-50, depending on the image, and also increase exposure a bit (esp. with Tri-X).
Oct 25, 2026 at 05:27 AM
fjablo
Offline
Details
p.1 #14FLX Film Lab - physics-based film simulations
A sneak peak for v1.1.0: a virtual trip to Rome, seen through old Kodak film stocks

I like Vericolor III quite a bit. It has more contrast and less latitude than Portra 160, especially in the shadows, and skin tones render a little bit more yellow. Blues don't go quite as cyan as they do with Portra and green stays more neutral too.

Rome x "Royal Gold 100" by Felix, auf Flickr

Rome x "Royal Gold 100" by Felix, auf Flickr

Rome x "Vericolor III 160" by Felix, auf Flickr

Rome x "Royal Gold 100" by Felix, auf Flickr

Rome x "Vericolor III 160" by Felix, auf Flickr
Oct 25, 2026 at 05:35 AM
gjoliver
Online
Details
p.1 #15FLX Film Lab - physics-based film simulations
Great work!!!
I had AI help me write a script that can convert LUT files taking VLog input into a LUT that takes sRGB.
I am sure it's not a perfect translation, but the results seem reasonable ...
Oct 25, 2026 at 06:52 AM
RoamingScott
Offline
[X]
Details
p.1 #16FLX Film Lab - physics-based film simulations
I agree that the grain has an odd quality to its texture. The closest analog is sort of how LR used to demosaic Fuji Raw files in a "wormy" way. I noticed that the app often reports the resolution of the image wrong at the bottom, and was thinking maybe the grain is scaling incorrectly for the perceived size of the image...kind of like if you add grain to an image in Lightroom and then do a deep crop, the grain is then huge.







Also, am I dense, or is there no way to zoom in and out?

edit: i now see that resolution is the preview size. increasing the preview resolution does indeed make the grain smaller.
Oct 25, 2026 at 07:07 AM
fjablo
Offline
Details
p.1 #17FLX Film Lab - physics-based film simulations
RoamingScott wrote:
i now see that resolution is the preview size. increasing the preview resolution does indeed make the grain smaller.


Yep. Reduced preview size to make the app more responsive and avoid crashes due to running out of memory. The default will change to 2560 px in v1.1.0, but you can also change it manually. Beyond 12mp the app changes to half-precision calculation to remain responsive.

Grain audit will be part of v1.2.0. Maybe next weekend, or some time later.

Also let me know if you encounter any crashes with the Hasselblad files. I did have a random crash once with a big pano, but I think that was several hundred MP.. the calculation in the app is more memory-intensive than standard RAW conversion, so that can be an issue (and I have 48gb of RAM here, so not sure how stable things are on a 8GB Macbook Neo for example.. )
Oct 25, 2026 at 07:30 AM
RoamingScott
Offline
[X]
Details
p.1 #18FLX Film Lab - physics-based film simulations
It was working just as well with an X2D II file as a Zf file in terms of responsiveness. Hassy RAW files love Fuji conversions (grain in LR)

Oct 25, 2026 at 07:33 AM
RomanMF
Offline
Details
p.1 #19FLX Film Lab - physics-based film simulations

I like the 500T interpretation quite a bit.
Main QOL things I'd be looking for immediately are Before & After toggles, zoom functionality, and improvement to the gradient tool handling. The handles go missing too easily (off the canvas you can't zoom in and out of) and there doesn't appear to be a way to hide them after you're done with them.

The larger ideological question, for me, is whether an app like this belongs, and can fit, outside of the main place I'm cataloging and editing my images. If you build plugin hooks into C1 & LR that can allow for easy round-tripping then I think it can work. The alternative is blowing this out to do the cataloging those other apps do, which feels like a completely different mission.

I'd be curious to see what @_jim_ thinks of this in comparison to Dehancer. You can't just tag people on here, can you? 😅

Edited on Oct 25, 2026 at 03:44 PM · View previous versions
Oct 25, 2026 at 10:07 AM
RoamingScott
Offline
[X]
Details
p.1 #20FLX Film Lab - physics-based film simulations
RomanMF wrote:
I'd be curious to see what Jim thinks of this in comparison to Dehancer. You can't just tag people on here, can you? 😅


To tag someone, you put the at symbol before their username, or before AND after if there's a space in it.
Oct 25, 2026 at 10:35 AM


FM ForumsFilm Is Not Dead ForumJoin Upload & Sell
  
 

You are not logged inLog inRegister