![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
Functions | |
eprint (*args, **kwargs) | |
preset_to_sort (preset) | |
Variables | |
dict | IGNORED_PRESETS |
dict | FL_PRESET_REPLACE |
list | PRESET_ORDER |
dict | PRESET_SORT_MAPPING = {} |
str | cams_from_source = os.path.dirname(os.path.abspath(__file__)) + "/../src/external/rawspeed/data/cameras.xml" |
str | cams_from_dist = os.path.dirname(os.path.abspath(__file__)) + "/../rawspeed/cameras.xml" |
CAMERAS = os.path.abspath(cams_from_source) if os.path.exists(os.path.abspath(cams_from_source)) else os.path.abspath(cams_from_dist) | |
dict | exif_name_map = {} |
xml_doc = ET.parse(CAMERAS) | |
maker = camera.get('make') | |
model = camera.get('model') | |
exif_id = maker,model | |
cid = camera.find('ID') | |
exif_model = alias.text | |
list | found_presets = [] |
red = None | |
int | finetune = 0 |
list | listed_presets = [] |
dict | preset_names = {} |
bool | gm_skew = False |
str | command |
proc = subprocess.check_output(command, universal_newlines=True) | |
lineparts = io.split(':') | |
tag = lineparts[0].strip() | |
values = lineparts[1].strip().split(' ') | |
tuple | green = (float(values[1])+float(values[2]))/2.0 |
tuple | blue = float(values[3])/green |
str | preset = ' '.join(values) |
str | p = ''.join(tag.split()[3:]) |
int | r = 0 |
tuple | g = (float(values[2])+float(values[3]))/2.0 |
tuple | b = float(values[1])/g |
rlevel = float(values[0]) | |
blevel = float(values[0]) | |
glevel = float(values[0]) | |
dict | enm = exif_name_map[maker,model] |
preset_arrv = list(preset_arr) | |
key | |
int | min_padding = 0 |
curr_finetune = int(found_presets[index][3]) | |
list | lazy_finetuning = [] |
str | preset_name = '' |
extract_wb.eprint | ( | * | args, |
** | kwargs | ||
) |
Referenced by preset_to_sort().
extract_wb.preset_to_sort | ( | preset | ) |
References eprint().
extract_wb.blevel = float(values[0]) |
extract_wb.CAMERAS = os.path.abspath(cams_from_source) if os.path.exists(os.path.abspath(cams_from_source)) else os.path.abspath(cams_from_dist) |
str extract_wb.cams_from_dist = os.path.dirname(os.path.abspath(__file__)) + "/../rawspeed/cameras.xml" |
str extract_wb.cams_from_source = os.path.dirname(os.path.abspath(__file__)) + "/../src/external/rawspeed/data/cameras.xml" |
extract_wb.cid = camera.find('ID') |
str extract_wb.command |
extract_wb.curr_finetune = int(found_presets[index][3]) |
dict extract_wb.enm = exif_name_map[maker,model] |
extract_wb.exif_model = alias.text |
dict extract_wb.exif_name_map = {} |
int extract_wb.finetune = 0 |
dict extract_wb.FL_PRESET_REPLACE |
extract_wb.found_presets = [] |
extract_wb.glevel = float(values[0]) |
bool extract_wb.gm_skew = False |
dict extract_wb.IGNORED_PRESETS |
extract_wb.key |
extract_wb.lazy_finetuning = [] |
extract_wb.lineparts = io.split(':') |
list extract_wb.listed_presets = [] |
dict extract_wb.maker = camera.get('make') |
extract_wb.min_padding = 0 |
dict extract_wb.model = camera.get('model') |
str extract_wb.p = ''.join(tag.split()[3:]) |
str extract_wb.preset = ' '.join(values) |
extract_wb.preset_arrv = list(preset_arr) |
str extract_wb.preset_name = '' |
dict extract_wb.preset_names = {} |
list extract_wb.PRESET_ORDER |
dict extract_wb.PRESET_SORT_MAPPING = {} |
extract_wb.proc = subprocess.check_output(command, universal_newlines=True) |
tuple extract_wb.r = 0 |
tuple extract_wb.red = None |
extract_wb.rlevel = float(values[0]) |
extract_wb.tag = lineparts[0].strip() |
extract_wb.values = lineparts[1].strip().split(' ') |
extract_wb.xml_doc = ET.parse(CAMERAS) |