The Dyeworks - GPU accelerated windows port of Spektrafilm!

Hey, I don’t really know how this whole forum works; sorry in advance.

I just uploaded a GPU-optimised Windows version of the GUI with a few additional settings and a dedicated export panel. The speed on my computer for scanning and exporting just got multiplied by 4x but I am planning on going further.

Here is the link

5 Likes

Great work, the speed is indeed an improvement.

this bit made me a bit confused, so - sorry if this is a stupid question but:
“Full 24 MP scan: 41s → 9.4s on the test machine (RTX 4070 SUPER); full-precision export: 4+ minutes → 10.3s”
whats the full precision export? the way I use spektrafilm is that I use the “scan” button and then save the rendered file, which is the first part - am I missing a feature or…? :smiley:

Any chance these improvements would be easily to ported to Linux? An AppImage (or Flatpak) would be the dream…

thats what I thought and thats why the two different times for whats basically the same thing(?) got me confused
but I guess that its just words, nothing too important

The first thing I did was separate scan from export to prepare for batch exporting. Sorry, it is confusing. Export is full precision float spectral simulation; scan is not. It is still missing a few parameters and is LUT-based, not per-pixel simulation, so it’s lower quality, but it adds grain and halation. The timing is almost the same for both now, and 4x faster than the originals.

For the Linux and Mac builds, I have no idea. The problem is I have neither machine to test on. I might try with Claude Cowork or something similar, since I think their environment runs on Linux.

Batch edit version will be out tonight since it was my first and main goal.

1 Like

Thank you, assuming that that the quality remains identical, this is an absolute gamechanger. On a RTX 5080 exporting 100 megapixel medium format images, the performance improvement is staggering!

I have one suggestion: can you create a new build of spectrafilm.exe against the current HEAD (as opposed to v0.3.2)?

There are a couple of really interesting changes there that have not been added to a new release. Specifically:

  • The preview max size limit has been removed from 999 pixels to basically anything the user wants. This means that you could have a 4K preview if you wanted, which really benefits the acceleration from your implementation.

  • There is a new Print → Chemistry feature which basically gives us far more granular control over colour correction.

Great stuff.

FYI: the full-precision export is described if you hover your mouse over it. The author has added a new ‘export’ category in ‘Main’ that kind of replaces the ‘Save’ button.

4 Likes

I agree with @hinius, an update to the latest version would be great. Print → Chemistry and Base are great features.

1 Like

Wait wait, the legendary Hin Chua? @hinius
This project seems to attract some interesting peeps — welcome to the forum! :smiley:

2 Likes

ah okay, so the scan button behaves differently than in the python version, I think I understand it now! (haha I did not - the new export section behaves differently, the scan/save is the same :D)
anyway, I second the thing others mentioned - please consider building it from an updated version, or even better - from the reflectance-upsampling-methods branch, the new tools included make a big difference

Posting Batch editing now based on version 3.2, I’ll update to the last version tomorrow or in the next days depending on the amount of time it takes.

4 Likes

checked the last version, I like the batch editing, though I probably wont fit it into my workflow, at least for now. but the time saves are really impressive, especially for 45+mpx files haha.
any chance you could make a version based on the reflectance-upsampling-methods = 28bf883 tree?
edit: the branch is called experimental now
edit2: why is the output gamut compression running on cpu?

2 Likes

I agree, the speed is impressive. The histogram and the film curve are nice additions. I also like that I can see the photo resolution. Keep up the great work!

2 Likes

New version coming today, the reflectance-upsampling-methods = 28bf883 tree should be part of it. If it’s not, it will be in the next one.

1 Like

As for the output gamut compression running on cpu, it will be fixed on my version 3.4 which I am testing right now, yeah I am a bit late on posting the releases ahaha. This version should be available by the end of the week.

1 Like

I’m loving the regular new releases. I’m guessing the answer is no, but is there any way that some of the performance enhancements can eventually be merged back into the main spektrafilm project? I’m guessing that you’re also probably using AI for your changes (AI-usage doesn’t bother me)?

1 Like

I was lately thinking about ditching windows, so I am experimenting with dual booting CachyOS - the scan times are literally 50% faster (24mpx scan with identical settings is 26 seconds on linux, 52 seconds on windows 11).

For this, I have absolutely no idea to be fair. This is a question for Andrea, who holds the main project. Indeed, I am using AI to make the code and am supervising and beta testing everything myself (hence the delay on releases). My biggest update just released today, if you want. Whenever Andrea releases his next one, I will update mine with his new features.

@arctic maybe will be able to answer those questions better

It’s impressive what you’ve done so far, the latest version has a lot of options. The problem is that it crashes on Fujifilm RAW files when I press scan. With TIFF files, the situation is better, but after a while, it crashes there too.