Adapted from ART
Co-authored-by: Alberto Griggio <agriggio@users.noreply.github.com>
* camconst: support for multiple image sizes in raw_crop and masked_areas
* Clean up code after porting raw crop changes
* fixed raw crop for Canon R6 reduced-resolution raws
* Add Canon EOS R5 1.6 crop raw crop & masked areas
In addition to bundled profiles and the system ICC profile store, load profiles from a user-writable/user-specific directory
On Linux, this is $HOME/.config/RawTherapee/iccprofiles/output - corresponding to "input" being already supported
Partial fix for part of #6644
* Work around to fix bug when using CBDL main and Local Sharpening
* Optimization int replace by bool sharplablocal
* Try to fix bug by using shardamping > 0 in LA
commit e293f0890866ddf934ba1a9dd9fa372364766bb3
Author: Bezierr <harald.aust@web.de>
Date: Tue Aug 23 16:16:23 2022 +0200
Added comment
commit 20a50b248dc110eeb4b526c7242920a68216c88c
Author: Bezierr <harald.aust@web.de>
Date: Tue Aug 23 14:35:47 2022 +0200
Follow dynamicprofile.cfg symlink instead of overwriting it
If dynamicprofile.cfg is a symlink, write the contents to this symlink's target instead of overwriting it.
commit bad2f8c37a0d27e612150dce3219593b2f996f9c
Author: Bezierr <harald.aust@web.de>
Date: Thu Aug 11 17:20:08 2022 +0200
Make dynamicprofile.cfg OS independent
dynamicprofile.cfg contains OS-dependent paths to the profiles. To fix this, replace "/" or "\", depending on OS, with the correct delimiter.
commit cd84120876be111c23dac5376eb5b6f6cb0a7328
Author: Bezierr <harald.aust@web.de>
Date: Thu Aug 11 16:33:39 2022 +0200
Relative paths also for Dark Frame and Flat File
(a) Extended the "relative path" functionality to the (already existing, but apparently not used) directories for FlatField and DarkFrame
(b) Simpler, cleaner implementation
commit a338b8726451323505bb4cff1888c562fd88929d
Author: Bezierr <harald.aust@web.de>
Date: Sun Aug 7 18:03:46 2022 +0200
Preference of RAW path over rtSettings path
(a) Give path relative to a camera or lens profile in the same folder as the raw file precendence over path relative to rtSettings.
(b) Replace backslash/slash when reading file paths, not when writing them.
For OS-independent use of .pp3 files:
If OS is WIN32, replace any "/" in filmSimulation.clutFilename with "\\".
If OS is not WIN32, replace any "\\" in filmSimulation.clutFilename with "/".
1 - Obsolete history events removal
Remove history events that are not referenced anywhere in code
Left event 149 despite being unreferenced due to the comment in the code indicating it may return
2 - Orphaned strings removal
HISTOGRAM_TOOLTIP_RAW appears to be an orphan, but this looks strange to me. Investigation needed
3 - Strings cleanup - remove improperly commented entries
These don't get treated as comments, but at least didn't break anything since
nothing in the code referenced them.
But they will waste translator's time, so delete them
In "Preferences", added the possibility to define a "Camera profiles directory" and a "Lens profiles directory" as base paths which enable storing relative paths in the .pp3 files.
Merge with local adjustments tone equalizer image processing function
for consistent results.
To-do: Enable for batch editing and add pivot/colormap to the local
adjustments version.
The dcraw linear_table method limits the max values to 4096.
But 16 bit per channel linear DNGs can provide a LinearizationTable with
65536 entries.
This patch changes the dcraw linear_table method to accept 65536
entries.
* Incorporate changes to CR3 decoder (from ART, LibRaw). Enables reading of compressed RAW (CRAW) files.
* Fix LGTM alerts, some trailing spaces (accidentally took over another minor edit, already pushed to dev)
I may be a very picky person, but I want to repair really tiny specks of dust on my negative scans.
I tried setting the SpotParams::minRadius to 1 and this seems to work fine. I can zoom in in the
UI and still manipulate things with point and click. I guess 1 is a natural lower boundary for the
radius that should be explored;-)