martin-marek / hdr-plus-swift

📸Night mode on any camera. Based on HDR+.
https://burst.photo
GNU General Public License v3.0
208 stars 11 forks source link

Compile for OSX 10.x.x #5

Closed andreasGothe closed 2 months ago

andreasGothe commented 1 year ago

Is it possible to compile this for OS versions before OSX11 'BigSur' - or is there a reason for this not to work?

martin-marek commented 1 year ago

It is currently not possible because of several UI features. I'm not sure which exactly but you could test that yourself if you're really interested (if you fork and run the main branch).

I don't plan on changing this since it would require extra work and possibly increase code complexity.

andreasGothe commented 1 year ago

Thank you for your quick answer Martin! That is understandable. I would not need a GUI for that, something like

./burstphoto images_*.dng > image.tif -size 16 -distance high -robustness 16

would be OK.

martin-marek commented 1 year ago

I've just added a cli.swift file and a new build target that runs this file (without a GUI). You should be able to use it on macOS 10.15 to batch process bursts. Unfortunately, you can only run it from Xcode (rather than Terminal). But I assume you could make it into a Terminal app if you're interested.

andreasGothe commented 1 year ago

Thank you ... where is my AppleDeveloperID again? And I guess XCode14 (the one with the simplicity and power of Swift and SwiftUI) needs at least OSX11. But I'm eager to check it out when I find some time - what else can we do on a sunday? :)

Alex-Vasile commented 1 year ago

Thank you ... where is my AppleDeveloperID again? And I guess XCode14 (the one with the simplicity and power of Swift and SwiftUI) needs at least OSX11. But I'm eager to check it out when I find some time - what else can we do on a sunday? :)

If you plan to only run it locally, you can use your appleID instead of needing a full developer account.

chris-rank commented 10 months ago

Is this still an issue as the CLI can be used with macOS 10.15?