Fast Export options provide overrides to bypass time and resource consuming development settings and to run queue processing using the fast export settings instead. This method is recommended for quicker generation of lower resolution images when speed is a priority or when resized output is desired for one or many images without making modifications to their saved development parameters.
115 lines
3.9 KiB
C++
115 lines
3.9 KiB
C++
/*
|
|
* This file is part of RawTherapee.
|
|
*
|
|
* Copyright (c) 2004-2012 Gabor Horvath <hgabor@rawtherapee.com>
|
|
* Copyright (c) 2012 Michael Ezra <michael@michaelezra.com>
|
|
*
|
|
* RawTherapee is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* RawTherapee is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with RawTherapee. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
#ifndef _EXPORTPANEL_
|
|
#define _EXPORTPANEL_
|
|
|
|
#include <gtkmm.h>
|
|
#include "guiutils.h"
|
|
#include "adjuster.h"
|
|
|
|
class ExportPanelListener {
|
|
|
|
public:
|
|
virtual void exportRequested () {}
|
|
};
|
|
|
|
class ExportPanel : public Gtk::VBox {
|
|
|
|
protected:
|
|
|
|
//Gtk::CheckButton* enabled;
|
|
Gtk::CheckButton* bypass_ALL;
|
|
Gtk::CheckButton* bypass_sharpenEdge;
|
|
Gtk::CheckButton* bypass_sharpenMicro;
|
|
Gtk::CheckButton* bypass_sharpening;
|
|
Gtk::CheckButton* bypass_lumaDenoise;
|
|
Gtk::CheckButton* bypass_colorDenoise;
|
|
Gtk::CheckButton* bypass_defringe;
|
|
Gtk::CheckButton* bypass_dirpyrDenoise;
|
|
Gtk::CheckButton* bypass_sh_hq;
|
|
|
|
/* icm_input = "(camera)";
|
|
icm_working = "sRGB";
|
|
icm_output = "RT_sRGB";
|
|
icm_gamma = "default";
|
|
*/
|
|
Gtk::CheckButton* bypass_dirpyrequalizer; // also could leave untouched but disable only small radius adjustments
|
|
Gtk::CheckButton* bypass_raw_all_enhance;
|
|
|
|
Gtk::CheckButton* bypass_raw_ca; // wraps raw.cared, raw.cablue, raw.ca_autocorrect
|
|
Gtk::CheckButton* bypass_raw_df; //wraps raw.dark_frame, raw.df_AutoSelect
|
|
Gtk::CheckButton* bypass_raw_ff; //wraps raw.ff_file, raw.ff_AutoSelect
|
|
MyComboBoxText* raw_dmethod;
|
|
MyComboBoxText* resize_method;
|
|
|
|
Gtk::CheckButton* bypass_raw_dcb_iterations;
|
|
Gtk::CheckButton* bypass_raw_dcb_enhance;
|
|
Gtk::CheckButton* bypass_raw_ccSteps;
|
|
Gtk::CheckButton* raw_all_enhance;
|
|
Gtk::CheckButton* bypass_raw_linenoise;
|
|
Gtk::CheckButton* bypass_raw_greenthresh;
|
|
|
|
Gtk::Button* btnFastExport;
|
|
Gtk::Button* btnExportLoadSettings;
|
|
Gtk::Button* btnExportSaveSettings;
|
|
|
|
MySpinButton* MaxWidth;
|
|
MySpinButton* MaxHeight;
|
|
|
|
sigc::connection enabledconn, bypass_ALLconn, FastExportconn, ExportLoadSettingsconn, ExportSaveSettingsconn;
|
|
sigc::connection bypass_sharpeningConn ;
|
|
sigc::connection bypass_sharpenEdgeConn ;
|
|
sigc::connection bypass_sharpenMicroConn ;
|
|
sigc::connection bypass_lumaDenoiseConn ;
|
|
sigc::connection bypass_colorDenoiseConn ;
|
|
sigc::connection bypass_defringeConn ;
|
|
sigc::connection bypass_dirpyrDenoiseConn ;
|
|
sigc::connection bypass_sh_hqConn ;
|
|
sigc::connection bypass_dirpyrequalizerConn ;
|
|
sigc::connection bypass_raw_all_enhanceConn ;
|
|
sigc::connection bypass_raw_ccStepsConn ;
|
|
sigc::connection bypass_raw_dcb_iterationsConn;
|
|
sigc::connection bypass_raw_dcb_enhanceConn ;
|
|
sigc::connection bypass_raw_caConn ;
|
|
sigc::connection bypass_raw_linenoiseConn ;
|
|
sigc::connection bypass_raw_greenthreshConn ;
|
|
sigc::connection bypass_raw_dfConn ;
|
|
sigc::connection bypass_raw_ffConn ;
|
|
|
|
|
|
ExportPanelListener* listener;
|
|
|
|
void bypassALL_Toggled();
|
|
void SaveSettingsAsDefault();
|
|
void LoadDefaultSettings();
|
|
void LoadSettings();
|
|
void SaveSettings();
|
|
|
|
public:
|
|
ExportPanel ();
|
|
|
|
void FastExportPressed ();
|
|
//bool isEnabled ();
|
|
|
|
void setExportPanelListener (ExportPanelListener* l) { listener = l; }
|
|
};
|
|
|
|
#endif
|