Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve #6 by adding settings via presets #7

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

JFHoelscher
Copy link

Add a list of settings that are not available via quick develop, for now containing texture and dehaze. Upon editing a photo (and resetting the values at the end), check for each setting whether it is in this list. If so, adjust it by creating and applying a develop preset.

Adresses issue wichmann-lab#6: Additional settings can now be adjusted. Implemented by creating and applying develop presets. For now, only added "dehaze" and "texture" to the table of available settings. In principle, this should work for all settings that are listed in the GUI when applying a develop preset.
@JFHoelscher
Copy link
Author

I want to perform one more check whether the new functions work as intended, so better wait with the merge.

@dekuenstle
Copy link
Member

I want to perform one more check whether the new functions work as intended, so better wait with the merge.

just get back to me when it's ready

Changes via presets (i.e. texture and dehaze) were not actually applied due to faulty creation of the table of settings used to create the preset.
@JFHoelscher
Copy link
Author

There actually was a bug in the last version, I fixed it in the recent commit. Now ready for merging.



For intended values different from 0, settings were not set to the intended value, but the intended value was added to the old value. This is fixed by resetting the value to 0 before the adjustment.
@JFHoelscher
Copy link
Author

Added a fix that solves #8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants