28 Commits

Author SHA1 Message Date
Ingo Weyrich
a5a44ce9b2 removes an unused function 2020-09-15 13:48:47 +02:00
Ingo Weyrich
0d2ffb5e61 more final fixes 2020-01-24 14:53:41 +01:00
Ingo Weyrich
6335b68a80 Further reduction of include dependencies 2019-11-03 14:52:42 +01:00
Ingo Weyrich
068847eb5a Further cleanup of include dependencies 2019-10-29 21:06:27 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Hombre
fb0c95969b Creation of the ICCProfileCreator 2018-06-25 00:43:11 +02:00
Alberto Griggio
b09bf381b4 added possibility to specify extra working spaces via a json file
The JSON file is called workingspaces.json, it can be either in the global iccprofiles directory, or in the user's ICC profiles dir (set in preferences).

The format is the following:

{"working_spaces": [
    {
        "name" : "ACES",
        "file" : "/path/to/ACES.icc"
    },
    {
        "name" : "ACEScg",
        "matrix" : [0.7184354, 0.16578523, 0.09882643, 0.29728935, 0.66958117, 0.03571544, -0.00647622, 0.01469771, 0.66732561]
    }
]}

if "matrix" is present, "file" is ignored. If only "file" is present, the matrix is extracted from the ICC profile. For this, we look only at the R, G, and B matrix columns and the white point set in the profile. Bradford adaptation is used to convert the matrix to D50. Anything else (LUT, TRC, ...) in the profile is ignored.

It is the user's responsibility to ensure that the profile is suitable to be used as a working space.
2018-03-20 15:06:09 +01:00
Alberto Griggio
956c44905e cleaned up gamut warning code 2018-03-16 17:57:03 +01:00
Alberto Griggio
d258216d41 fixed warning reported by clang (forward declaration of ColorManagementParams as class, but it is a struct) 2017-12-09 00:34:07 +01:00
Alberto Griggio
ecae94f17c automatically select the system monitor profile if the preferences say so
Fix for issue #3821
2017-04-12 16:20:03 +02:00
Alberto Griggio
b01899783d Added support for autodetecting the system monitor color profile also on Linux
Code borrowed from Geeqie
2017-04-08 15:18:50 +02:00
Flössie
5632c787a3 Don't return XYZ for sRGB (#3691)
Also fix length of `ProfileContent` to match the old implementation.
2017-03-19 11:18:13 +01:00
Flössie
97caf21b5c PIMPLed and streamlined ICCStore (#3691) 2017-03-18 11:59:14 +01:00
Hombre
567ed3629c Automatically selected profiles are now correctly loaded on first use. 2017-03-13 01:30:34 +01:00
Hombre
a04b3eefba Adding rawtherapee-cli.exe, '-q' (quick start mode) added
Standard rawtherapee.exe now has almost no command line options left.
Use '-h' to see options for each executables.
2017-02-13 23:38:05 +01:00
Hombre
23863aceca Printer profile added in Preferences for soft-proofing
The output profiles now retain only 'Display' device class as well as
the Monitor profile - and they both have to have rgb color space, the
printer profile retain only 'Output' device class.

MacOS can use soft-proofing but due to undocumented feature of OSX, and
since Cairo assume that the image data are sRGB, the monitor profile is
forced to 'RT_sRGB'. A warning message replace the combobox for this OS.
2016-12-30 03:59:18 +01:00
Hombre
50165dab20 Merge branch 'master' into softproofing 2016-10-16 01:45:52 +02:00
heckflosse
3552fd4161 Cppcheck: Fix issues related to explicit constructors 2016-10-03 00:54:02 +02:00
Hombre
c96c7dc8f3 Soft-proofing ang GamutCheck buttons are now disabled if Monitor profile
== NONE of is no suported intent for the selected profile.

The Monitor profile list (in the Editor and in Preferences) shows RGB
profiles only, whereas the output profile list shows all profiles (RGB,
CMYK, ... anything!)

Bugfix: When switching to a new image, the image now use the selected profile and intent.
2016-09-02 16:23:21 +02:00
Hombre
d31de41f68 Cleaner implementation of the gamma array (more C++11) 2016-08-31 23:40:27 +02:00
Hombre
827acd35f9 Some bugfix. 2016-08-27 22:20:54 +02:00
Hombre
5affa18341 Introducting soft-proofing and Black Point Compensation, simplify the
CMM at the end of the pipeline + sparse code refactoring
A new BPC checkbutton has been created in 'Preferences/Color Management'
and in the ICM tool. Better hanbling of widget sensitivity of the output
profile / gamma part of the ICM tool.
2016-08-24 22:32:06 +02:00
Hombre
bcbb45454a Updated icons (from Drslony), code cleanup and bugfix 2015-12-29 03:52:50 +01:00
Hombre
32eb6b996c Adding softproofing. Now the output profile and the new rendering intent
profile for the output profile will only be shown when the new softproof
toggle button (bottom of the preview in the Editor panel) will be on.
2015-12-15 01:06:38 +01:00
Adam Reichold
5f59156bb0 Simplify querying the default monitor profile as suggested by Hombre57. 2015-12-07 23:22:41 +01:00
Adam Reichold
35919bddc9 Copy-edit the ICC store for better performance and maintainability and add a method to load profile lists from arbitrary directories. 2015-12-07 19:55:14 +01:00
DrSlony
0e0cfb9b25 Formatted all .cc and .h code in rtengine, rtexif and rtgui using astyle 2015-08-11 11:55:03 +02:00
torger
d5ca351c20 Issue 2134: removed obsolete raw highlight preservation setting from GUI (still left in procparams for backwards compatilibility) 2015-07-10 12:00:36 +02:00