[f-spot/rubenv-gsoc-2009: 16/86] Use the camera white balance when loading a RAW.



commit fc0fc88f7b202b02f931e7ab5de3ca7dcfe479c2
Author: Ruben Vermeersch <ruben savanne be>
Date:   Mon Jul 20 15:32:53 2009 +0200

    Use the camera white balance when loading a RAW.
    
    This avoids the weird color jump when the full RAW is loaded.

 lib/libfspotraw/fspot-librawloader.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/libfspotraw/fspot-librawloader.cpp b/lib/libfspotraw/fspot-librawloader.cpp
index 01f8acd..b18dd85 100644
--- a/lib/libfspotraw/fspot-librawloader.cpp
+++ b/lib/libfspotraw/fspot-librawloader.cpp
@@ -263,6 +263,7 @@ static void
 open_if_needed (FSpotLibrawLoader *self)
 {
 	if (!self->priv->opened) {
+		self->priv->raw_proc->imgdata.params.use_camera_wb = 1;
 		int result = self->priv->raw_proc->open_file (self->priv->filename);
 		g_assert (result == 0);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]