From 93c2c75271bbb15f97b2c1904cd5ec13c6d61a28 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 24 Jan 2011 22:07:40 -0500 Subject: [PATCH] saveInputICCReference: save TIF 16 instead of JPG --- rtengine/improccoordinator.cc | 2 +- rtgui/icmpanel.cc | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rtengine/improccoordinator.cc b/rtengine/improccoordinator.cc index f2b0f65b5..68456d6fe 100644 --- a/rtengine/improccoordinator.cc +++ b/rtengine/improccoordinator.cc @@ -601,7 +601,7 @@ void ImProcCoordinator::saveInputICCReference (const Glib::ustring& fname) { imgsrc->preprocess( ppar.raw ); imgsrc->demosaic(ppar.raw ); imgsrc->getImage (imgsrc->getWB(), 0, im, pp, ppar.hlrecovery, ppar.icm, ppar.raw); - im->saveJPEG (fname, 85); + im->saveTIFF (fname,16,true); mProcessing.unlock (); } diff --git a/rtgui/icmpanel.cc b/rtgui/icmpanel.cc index 82b2f486e..047c24989 100644 --- a/rtgui/icmpanel.cc +++ b/rtgui/icmpanel.cc @@ -279,10 +279,10 @@ void ICMPanel::saveReferencePressed () { dialog.add_button(Gtk::StockID("gtk-cancel"), Gtk::RESPONSE_CANCEL); dialog.add_button(Gtk::StockID("gtk-save"), Gtk::RESPONSE_OK); - Gtk::FileFilter filter_jpg; - filter_jpg.set_name(M("SAVEDLG_JPGFILTER")); - filter_jpg.add_pattern("*.jpg"); - dialog.add_filter(filter_jpg); + Gtk::FileFilter filter_tif; + filter_tif.set_name(M("SAVEDLG_TIFFFILTER")); + filter_tif.add_pattern("*.tif"); + dialog.add_filter(filter_tif); dialog.set_do_overwrite_confirmation (true);