diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-03-22 06:40:44 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-03-22 06:40:44 +0100 |
commit | 8e1c5a834469d804d28ee8ab2cbe2da8e600a789 (patch) | |
tree | b9771456583eaead893cfd8f02e680b58a3da970 /src/photos/GRaw.vala | |
parent | 80a5f2d8b095e895a5424f90b2ce4684d94c1a32 (diff) | |
parent | 3253d99365813f2d2ffd05e10cbb8c11f53d746e (diff) |
Merge tag 'upstream/0.26.0'
Upstream version 0.26.0
Diffstat (limited to 'src/photos/GRaw.vala')
-rw-r--r-- | src/photos/GRaw.vala | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/photos/GRaw.vala b/src/photos/GRaw.vala index ec1df8d..19b5cdc 100644 --- a/src/photos/GRaw.vala +++ b/src/photos/GRaw.vala @@ -63,6 +63,12 @@ public enum InterpolationQuality { AHD = 3 } +public enum UseCameraMatrix { + IGNORE = 0, + EMBEDDED_COLOR_PROFILE = 1, + EMBEDDED_COLOR_DATA = 3 +} + public class ProcessedImage { private LibRaw.ProcessedImage image; private Gdk.Pixbuf pixbuf = null; @@ -226,8 +232,8 @@ public class Processor { // These fields are set to reasonable defaults by libraw. // greybox - output_params->set_chromatic_aberrations(1.0, 1.0); - output_params->set_gamma_curve(GRaw.SRGB_POWER, GRaw.SRGB_SLOPE); + LibRaw.OutputParams.set_chromatic_aberrations(output_params, 1.0, 1.0); + LibRaw.OutputParams.set_gamma_curve(output_params, GRaw.SRGB_POWER, GRaw.SRGB_SLOPE); // user_mul // shot_select // multi_out @@ -238,7 +244,7 @@ public class Processor { output_params->highlight = GRaw.HighlightMode.CLIP; output_params->use_auto_wb = true; output_params->use_camera_wb = true; - output_params->use_camera_matrix = true; + output_params->use_camera_matrix = GRaw.UseCameraMatrix.EMBEDDED_COLOR_PROFILE; output_params->output_color = GRaw.Colorspace.SRGB; // output_profile // camera_profile |