Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-develop

Source of release 0.1.0

0.1.0 / src / parameters.lucb

## Generated by tools/parameters.py; do not edit. Every develop parameter, its
## name in the text form, its label and Properties section, range, default and
## decimals. settings.lucb says what each does.

## One parameter's description.
pub struct ParameterSpec:
    pub let name: str
    pub let label: str
    pub let section: str
    pub let low: f64
    pub let high: f64
    pub let default: f64
    pub let decimals: i64

## Every develop parameter, in text-form order.
pub enum Parameter as u8:
    temperature = 0
    tint = 1
    exposure = 2
    exposure_time = 3
    contrast = 4
    highlights = 5
    shadows = 6
    whites = 7
    blacks = 8
    film_stock = 9
    film_format = 10
    film_filter = 11
    film_color_filter = 12
    develop_process = 13
    develop_time = 14
    develop_temperature = 15
    develop_silver = 16
    develop_agitation = 17
    film_interimage = 18
    film_grain = 19
    film_halation = 20
    film_backing = 21
    film_flash = 22
    film_warmth = 23
    film_tint = 24
    film_contrast = 25
    film_black = 26
    scan_calibration = 27
    levels_black = 28
    levels_white = 29
    levels_gamma = 30
    levels_out_black = 31
    levels_out_white = 32
    vibrance = 33
    saturation = 34
    red_hue = 35
    red_saturation = 36
    red_luminance = 37
    orange_hue = 38
    orange_saturation = 39
    orange_luminance = 40
    yellow_hue = 41
    yellow_saturation = 42
    yellow_luminance = 43
    green_hue = 44
    green_saturation = 45
    green_luminance = 46
    aqua_hue = 47
    aqua_saturation = 48
    aqua_luminance = 49
    blue_hue = 50
    blue_saturation = 51
    blue_luminance = 52
    purple_hue = 53
    purple_saturation = 54
    purple_luminance = 55
    magenta_hue = 56
    magenta_saturation = 57
    magenta_luminance = 58
    grade_shadows_hue = 59
    grade_shadows_saturation = 60
    grade_shadows_luminance = 61
    grade_midtones_hue = 62
    grade_midtones_saturation = 63
    grade_midtones_luminance = 64
    grade_highlights_hue = 65
    grade_highlights_saturation = 66
    grade_highlights_luminance = 67
    grade_global_hue = 68
    grade_global_saturation = 69
    grade_global_luminance = 70
    grade_balance = 71
    grade_blending = 72
    bw = 73
    bw_red = 74
    bw_orange = 75
    bw_yellow = 76
    bw_green = 77
    bw_aqua = 78
    bw_blue = 79
    bw_purple = 80
    bw_magenta = 81
    bw_tint_hue = 82
    bw_tint_amount = 83
    lens_vignetting = 84
    lens_midpoint = 85
    lens_coating = 86
    lens_diffusion = 87
    vignette_amount = 88
    vignette_midpoint = 89
    vignette_roundness = 90
    vignette_feather = 91
    geometry_rotate = 92
    geometry_vertical = 93
    geometry_horizontal = 94
    geometry_aspect = 95
    geometry_scale = 96
    geometry_autocrop = 97
    crop_left = 98
    crop_top = 99
    crop_right = 100
    crop_bottom = 101
    print_red = 102
    print_green = 103
    print_blue = 104
    print_silver = 105
    print_material = 106
    print_generations = 107
    print_optical = 108
    paper_stock = 109
    paper_grade = 110
    paper_enlarger = 111
    paper_exposure = 112
    paper_surface = 113
    paper_yellow = 114
    paper_magenta = 115
    paper_cyan = 116
    view = 117
    geometry_turn = 118
    scan_resolution = 119

## How many parameters there are.
pub let parameter_count: usize = 120

pub let parameters: ParameterSpec[120] = [
    ParameterSpec("temperature", "Temperature", "White Balance", 0.0, 50000.0, 0.0, 0),
    ParameterSpec("tint", "Tint", "White Balance", -150.0, 150.0, 0.0, 0),
    ParameterSpec("exposure", "Exposure", "Exposure", -6.0, 6.0, 0.0, 2),
    ParameterSpec("exposure_time", "Shutter", "Exposure", 0.0, 3600.0, 0.0, 3),
    ParameterSpec("contrast", "Contrast", "Tone", -100.0, 100.0, 0.0, 0),
    ParameterSpec("highlights", "Highlights", "Tone", -100.0, 100.0, 0.0, 0),
    ParameterSpec("shadows", "Shadows", "Tone", -100.0, 100.0, 0.0, 0),
    ParameterSpec("whites", "Whites", "Tone", -100.0, 100.0, 0.0, 0),
    ParameterSpec("blacks", "Blacks", "Tone", -100.0, 100.0, 0.0, 0),
    ParameterSpec("film_stock", "Stock", "Film", 0.0, 31.0, 3.0, 0),
    ParameterSpec("film_format", "Format", "Film", 0.0, 5.0, 0.0, 0),
    ParameterSpec("film_filter", "Balance", "Filter", 0.0, 5.0, 0.0, 0),
    ParameterSpec("film_color_filter", "Color Filter", "Filter", 0.0, 8.0, 0.0, 0),
    ParameterSpec("develop_process", "Process", "Develop", 0.0, 31.0, 0.0, 0),
    ParameterSpec("develop_time", "Time", "Develop", 0.0, 30.0, 0.0, 2),
    ParameterSpec("develop_temperature", "Temperature", "Develop", 0.0, 50.0, 0.0, 1),
    ParameterSpec("develop_silver", "Bleach Bypass", "Develop", 0.0, 100.0, 0.0, 0),
    ParameterSpec("develop_agitation", "Agitation", "Develop", 0.0, 3.0, 0.0, 0),
    ParameterSpec("film_interimage", "Interimage", "Film", 0.0, 200.0, 100.0, 0),
    ParameterSpec("film_grain", "Grain", "Film", 0.0, 200.0, 100.0, 0),
    ParameterSpec("film_halation", "Halation", "Film", 0.0, 300.0, 100.0, 0),
    ParameterSpec("film_backing", "Backing", "Film", 0.0, 1.0, 0.0, 0),
    ParameterSpec("film_flash", "Flashing", "Film", 0.0, 50.0, 0.0, 1),
    ParameterSpec("film_warmth", "Warmth", "Scan", -100.0, 100.0, 0.0, 0),
    ParameterSpec("film_tint", "Tint", "Scan", -100.0, 100.0, 0.0, 0),
    ParameterSpec("film_contrast", "Contrast", "Scan", -100.0, 100.0, 0.0, 0),
    ParameterSpec("film_black", "Black", "Scan", 0.0, 100.0, 50.0, 0),
    ParameterSpec("scan_calibration", "Calibration", "Scan", 0.0, 1.0, 0.0, 0),
    ParameterSpec("levels_black", "Input Black", "Levels", 0.0, 1.0, 0.0, 3),
    ParameterSpec("levels_white", "Input White", "Levels", 0.0, 1.0, 1.0, 3),
    ParameterSpec("levels_gamma", "Gamma", "Levels", 0.1, 10.0, 1.0, 2),
    ParameterSpec("levels_out_black", "Output Black", "Levels", 0.0, 1.0, 0.0, 3),
    ParameterSpec("levels_out_white", "Output White", "Levels", 0.0, 1.0, 1.0, 3),
    ParameterSpec("vibrance", "Vibrance", "Color", -100.0, 100.0, 0.0, 0),
    ParameterSpec("saturation", "Saturation", "Color", -100.0, 100.0, 0.0, 0),
    ParameterSpec("red_hue", "Red Hue", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("red_saturation", "Red Saturation", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("red_luminance", "Red Luminance", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("orange_hue", "Orange Hue", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("orange_saturation", "Orange Saturation", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("orange_luminance", "Orange Luminance", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("yellow_hue", "Yellow Hue", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("yellow_saturation", "Yellow Saturation", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("yellow_luminance", "Yellow Luminance", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("green_hue", "Green Hue", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("green_saturation", "Green Saturation", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("green_luminance", "Green Luminance", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("aqua_hue", "Aqua Hue", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("aqua_saturation", "Aqua Saturation", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("aqua_luminance", "Aqua Luminance", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("blue_hue", "Blue Hue", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("blue_saturation", "Blue Saturation", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("blue_luminance", "Blue Luminance", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("purple_hue", "Purple Hue", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("purple_saturation", "Purple Saturation", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("purple_luminance", "Purple Luminance", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("magenta_hue", "Magenta Hue", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("magenta_saturation", "Magenta Saturation", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("magenta_luminance", "Magenta Luminance", "Color Mixer", -100.0, 100.0, 0.0, 0),
    ParameterSpec("grade_shadows_hue", "Shadows Hue", "Color Grading", 0.0, 360.0, 0.0, 0),
    ParameterSpec("grade_shadows_saturation", "Shadows Saturation", "Color Grading", 0.0, 100.0, 0.0, 0),
    ParameterSpec("grade_shadows_luminance", "Shadows", "Color Grading", -100.0, 100.0, 0.0, 0),
    ParameterSpec("grade_midtones_hue", "Midtones Hue", "Color Grading", 0.0, 360.0, 0.0, 0),
    ParameterSpec("grade_midtones_saturation", "Midtones Saturation", "Color Grading", 0.0, 100.0, 0.0, 0),
    ParameterSpec("grade_midtones_luminance", "Midtones", "Color Grading", -100.0, 100.0, 0.0, 0),
    ParameterSpec("grade_highlights_hue", "Highlights Hue", "Color Grading", 0.0, 360.0, 0.0, 0),
    ParameterSpec("grade_highlights_saturation", "Highlights Saturation", "Color Grading", 0.0, 100.0, 0.0, 0),
    ParameterSpec("grade_highlights_luminance", "Highlights", "Color Grading", -100.0, 100.0, 0.0, 0),
    ParameterSpec("grade_global_hue", "Global Hue", "Color Grading", 0.0, 360.0, 0.0, 0),
    ParameterSpec("grade_global_saturation", "Global Saturation", "Color Grading", 0.0, 100.0, 0.0, 0),
    ParameterSpec("grade_global_luminance", "Global", "Color Grading", -100.0, 100.0, 0.0, 0),
    ParameterSpec("grade_balance", "Balance", "Color Grading", -100.0, 100.0, 0.0, 0),
    ParameterSpec("grade_blending", "Blending", "Color Grading", 0.0, 100.0, 50.0, 0),
    ParameterSpec("bw", "Black & White", "Black & White", 0.0, 1.0, 0.0, 0),
    ParameterSpec("bw_red", "Red", "Black & White", -200.0, 300.0, 40.0, 0),
    ParameterSpec("bw_orange", "Orange", "Black & White", -200.0, 300.0, 30.0, 0),
    ParameterSpec("bw_yellow", "Yellow", "Black & White", -200.0, 300.0, 20.0, 0),
    ParameterSpec("bw_green", "Green", "Black & White", -200.0, 300.0, -10.0, 0),
    ParameterSpec("bw_aqua", "Aqua", "Black & White", -200.0, 300.0, -20.0, 0),
    ParameterSpec("bw_blue", "Blue", "Black & White", -200.0, 300.0, -30.0, 0),
    ParameterSpec("bw_purple", "Purple", "Black & White", -200.0, 300.0, -10.0, 0),
    ParameterSpec("bw_magenta", "Magenta", "Black & White", -200.0, 300.0, 20.0, 0),
    ParameterSpec("bw_tint_hue", "Tint Hue", "Black & White", 0.0, 360.0, 0.0, 0),
    ParameterSpec("bw_tint_amount", "Tint Amount", "Black & White", 0.0, 100.0, 0.0, 0),
    ParameterSpec("lens_vignetting", "Vignetting", "Lens", 0.0, 100.0, 0.0, 0),
    ParameterSpec("lens_midpoint", "Midpoint", "Lens", 0.0, 100.0, 50.0, 0),
    ParameterSpec("lens_coating", "Coating", "Lens", 0.0, 2.0, 0.0, 0),
    ParameterSpec("lens_diffusion", "Diffusion", "Lens", 0.0, 6.0, 0.0, 0),
    ParameterSpec("vignette_amount", "Amount", "Vignette", -100.0, 100.0, 0.0, 0),
    ParameterSpec("vignette_midpoint", "Midpoint", "Vignette", 0.0, 100.0, 50.0, 0),
    ParameterSpec("vignette_roundness", "Roundness", "Vignette", -100.0, 100.0, 0.0, 0),
    ParameterSpec("vignette_feather", "Feather", "Vignette", 0.0, 100.0, 50.0, 0),
    ParameterSpec("geometry_rotate", "Rotate", "Geometry", -45.0, 45.0, 0.0, 1),
    ParameterSpec("geometry_vertical", "Vertical", "Geometry", -100.0, 100.0, 0.0, 0),
    ParameterSpec("geometry_horizontal", "Horizontal", "Geometry", -100.0, 100.0, 0.0, 0),
    ParameterSpec("geometry_aspect", "Aspect", "Geometry", -100.0, 100.0, 0.0, 0),
    ParameterSpec("geometry_scale", "Scale", "Geometry", 50.0, 150.0, 100.0, 0),
    ParameterSpec("geometry_autocrop", "Crop to Fit", "Geometry", 0.0, 1.0, 1.0, 0),
    ParameterSpec("crop_left", "Crop Left", "Crop", 0.0, 1.0, 0.0, 4),
    ParameterSpec("crop_top", "Crop Top", "Crop", 0.0, 1.0, 0.0, 4),
    ParameterSpec("crop_right", "Crop Right", "Crop", 0.0, 1.0, 1.0, 4),
    ParameterSpec("crop_bottom", "Crop Bottom", "Crop", 0.0, 1.0, 1.0, 4),
    ParameterSpec("print_red", "Red", "Print", -24.0, 24.0, 0.0, 0),
    ParameterSpec("print_green", "Green", "Print", -24.0, 24.0, 0.0, 0),
    ParameterSpec("print_blue", "Blue", "Print", -24.0, 24.0, 0.0, 0),
    ParameterSpec("print_silver", "Silver (IR)", "Print", 0.6, 2.4, 0.6, 2),
    ParameterSpec("print_material", "Print Film", "Print", 0.0, 1.0, 0.0, 0),
    ParameterSpec("print_generations", "Generations", "Print", 0.0, 4.0, 0.0, 0),
    ParameterSpec("print_optical", "Optical Step", "Print", 0.0, 1.0, 0.0, 0),
    ParameterSpec("paper_stock", "Paper", "Paper", 0.0, 5.0, 0.0, 0),
    ParameterSpec("paper_grade", "Grade", "Paper", -1.0, 5.0, 2.0, 1),
    ParameterSpec("paper_enlarger", "Enlarger", "Paper", 0.0, 2.0, 0.0, 0),
    ParameterSpec("paper_exposure", "Exposure", "Paper", -3.0, 3.0, 0.0, 2),
    ParameterSpec("paper_surface", "Surface", "Paper", 0.0, 2.0, 0.0, 0),
    ParameterSpec("paper_yellow", "Yellow", "Paper", 0.0, 200.0, 0.0, 0),
    ParameterSpec("paper_magenta", "Magenta", "Paper", 0.0, 200.0, 0.0, 0),
    ParameterSpec("paper_cyan", "Cyan", "Paper", 0.0, 200.0, 0.0, 0),
    ParameterSpec("view", "View", "View", 0.0, 4.0, 0.0, 0),
    ParameterSpec("geometry_turn", "Turn", "Crop", 0.0, 3.0, 0.0, 0),
    ParameterSpec("scan_resolution", "Resolution", "Scan", 0.0, 4.0, 0.0, 0)]