saveInputICCReference: save TIF 16 instead of JPG

This commit is contained in:
michael
2011-01-24 22:07:40 -05:00
parent 0d0cbc8f24
commit 93c2c75271
2 changed files with 5 additions and 5 deletions

View File

@@ -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 ();
}

View File

@@ -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);