From 40b2699ccdae414ad9517390cc9ad704cfa5d1e0 Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 23 Jan 2011 20:26:13 -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 18f231dc7..19bbd37a7 100644 --- a/rtengine/improccoordinator.cc +++ b/rtengine/improccoordinator.cc @@ -580,7 +580,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 1c7a2486a..208868e62 100644 --- a/rtgui/icmpanel.cc +++ b/rtgui/icmpanel.cc @@ -280,10 +280,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);