Popul-AR / gmic-luts

A collection of LUTs from GMIC, translated to various formats (Spark, Lens Studio, Hald)
9 stars 2 forks source link

generate-luts.ps1 #1

Closed hamzaharoon1314 closed 1 year ago

hamzaharoon1314 commented 1 year ago

This will run on Windows, But you need to install GMIC CLI Version and add it to the PATH.

# Powshell Code

$IN = "2-strip-process|60s|60s_faded|60s_faded_alt|action_magenta_01|action_red_01|adventure_1453|agfa_apx_100|agfa_apx_25|agfa_precisa_100|agfa_ultra_color_100|agfa_vista_200|agressive_highligjtes_recovery_5|alberto_street|alien_green|amstragram|amstragram+|analogfx_anno_1870_color|analogfx_old_style_i|analogfx_old_style_ii|analogfx_old_style_iii|analogfx_sepia_color|analogfx_soft_sepia_i|analogfx_soft_sepia_ii|anime|apocalypse_this_very_moment|aqua|aqua_and_orange_dark|arabica_12|autumn|ava_614|avalanche|azrael_93|bboyz_2|berlin_sky|black_and_white|black_star|blade_runner|bleach_bypass|bleachbypass_1|bleachbypass_2|bleachbypass_3|bleachbypass_4|bleech_bypass_green|bleech_bypass_yellow_01|blue_cold_fade|blue_dark|blue_house|blue_ice|blue_mono|blue_shadows_01|blues|bob_ford|bourbon_64|bright_green_01|bright_teal_orange|bright_warm|brightgreen|brownish|bw_1|bw_10|bw_2|bw_3|bw_4|bw_5|bw_6|bw_7|bw_8|bw_9|byers_11|candlelight|caribe|chemical_168|chrome_01|cinema|cinema_2|cinema_3|cinema_4|cinema_5|cinema_noir|cinematic-1|cinematic-10|cinematic-2|cinematic-3|cinematic-4|cinematic-5|cinematic-6|cinematic-7|cinematic-8|cinematic-9|cinematic_01|cinematic_02|cinematic_03|cinematic_for_flog|cinematic_lady_bird|cinematic_mexico|city_7|classic_teal_and_orange|clayton_33|clear_teal_fade|clouseau_54|cobi_3|coffee_44|cold_clear_blue|cold_clear_blue_1|cold_simplicity_2|color_rich|colorful_0209|colornegative|conflict_01|contrail_35|contrast_with_highlights_protection|contrasty_afternoon|contrasty_green|crispromance|crispwarm|crispwinter|cross_process_cp_130|cross_process_cp_14|cross_process_cp_15|cross_process_cp_16|cross_process_cp_18|cross_process_cp_3|cross_process_cp_4|cross_process_cp_6|crushin|cubicle_99|d_o_1|dark_blues_in_sunlight|dark_green_02|dark_green_1|dark_place_01|date_39|day_4nite|day_for_night|deep|deep_blue|deep_dark_warm|deep_high_contrast|deep_teal_fade|deep_warm_fade|delicatessen|denoiser_simple_40|desert_gold_37|dimension|directions_23|django_25|domingo_145|dream_1|dream_85|drop_green_tint_14|dropblues|earth_tone_boost|edgyember|elegance_38|enchanted|eterna_for_flog|expired_69|expired_fade|expired_polaroid|extreme|fade|fade_to_green|faded|faded_47|faded_alt|faded_analog|faded_extreme|faded_green|faded_print|faded_retro_01|faded_retro_02|faded_vivid|fadedlook|fallcolors|faux_infrared|faux_infrared_bw_1|faux_infrared_color_p_2|faux_infrared_color_p_3|faux_infrared_color_r_0a|faux_infrared_color_r_0b|faux_infrared_color_yp_1|fgcinebasic|fgcinebright|fgcinecold|fgcinedrama|fgcinetealorange_1|fgcinetealorange_2|fgcinevibrant|fgcinewarm|film_0987|film_9879|film_high_contrast|film_print_01|film_print_02|filmic|flat_30|flavin|foggynight|folger_50|french_comedy|frosted|frostedbeachpicnic|fuji_160c|fuji_160c_+|fuji_160c_++|fuji_160c_-|fuji_3510_constlclip|fuji_3510_constlmap|fuji_3510_cuspclip|fuji_3513_constlclip|fuji_3513_constlmap|fuji_3513_cuspclip|fuji_400h|fuji_400h_+|fuji_400h_++|fuji_400h_-|fuji_800z|fuji_800z_+|fuji_800z_++|fuji_800z_-|fuji_astia_100_generic|fuji_astia_100f|fuji_fp-100c|fuji_fp-100c_+|fuji_fp-100c_++|fuji_fp-100c_+++|fuji_fp-100c_++_alt|fuji_fp-100c_-|fuji_fp-100c_--|fuji_fp-100c_alt|fuji_fp-100c_cool|fuji_fp-100c_cool_+|fuji_fp-100c_cool_++|fuji_fp-100c_cool_-|fuji_fp-100c_cool_--|fuji_fp-100c_negative|fuji_fp-100c_negative_+|fuji_fp-100c_negative_++|fuji_fp-100c_negative_+++|fuji_fp-100c_negative_++_alt|fuji_fp-100c_negative_-|fuji_fp-100c_negative_--|fuji_fp-3000b|fuji_fp-3000b_+|fuji_fp-3000b_++|fuji_fp-3000b_+++|fuji_fp-3000b_-|fuji_fp-3000b_--|fuji_fp-3000b_hc|fuji_fp-3000b_negative|fuji_fp-3000b_negative_+|fuji_fp-3000b_negative_++|fuji_fp-3000b_negative_+++|fuji_fp-3000b_negative_-|fuji_fp-3000b_negative_--|fuji_fp-3000b_negative_early|fuji_fp_100c|fuji_hdr|fuji_neopan_1600|fuji_neopan_1600_+|fuji_neopan_1600_++|fuji_neopan_1600_-|fuji_neopan_acros_100|fuji_provia_100_generic|fuji_provia_100f|fuji_provia_400f|fuji_provia_400x|fuji_sensia_100|fuji_superia_100|fuji_superia_100_+|fuji_superia_100_++|fuji_superia_100_-|fuji_superia_1600|fuji_superia_1600_+|fuji_superia_1600_++|fuji_superia_1600_-|fuji_superia_200|fuji_superia_200_xpro|fuji_superia_400|fuji_superia_400_+|fuji_superia_400_++|fuji_superia_400_-|fuji_superia_800|fuji_superia_800_+|fuji_superia_800_++|fuji_superia_800_-|fuji_superia_hg_1600|fuji_superia_reala_100|fuji_superia_x-tra_800|fuji_velvia_100_generic|fuji_velvia_50|fuji_xtrans_iii_acros|fuji_xtrans_iii_acros+g|fuji_xtrans_iii_acros+r|fuji_xtrans_iii_acros+ye|fuji_xtrans_iii_astia|fuji_xtrans_iii_classic_chrome|fuji_xtrans_iii_mono|fuji_xtrans_iii_mono+g|fuji_xtrans_iii_mono+r|fuji_xtrans_iii_mono+ye|fuji_xtrans_iii_pro_neg_hi|fuji_xtrans_iii_pro_neg_std|fuji_xtrans_iii_provia|fuji_xtrans_iii_sepia|fuji_xtrans_iii_velvia|fusion_88|futuristicbleak_1|futuristicbleak_2|futuristicbleak_3|futuristicbleak_4|going_for_a_walk|golden|golden_bright|golden_fade|golden_mono|golden_night_softner_43|golden_sony_37|golden_vibrant|goldengate|goldfx_bright_spring_breeze|goldfx_bright_summer_heat|goldfx_hot_summer_heat|goldfx_perfect_sunset_01min|goldfx_perfect_sunset_05min|goldfx_perfect_sunset_10min|goldfx_spring_breeze|goldfx_summer_heat|good_morning|green_15|green_2025|green_action|green_afternoon|green_blues|green_conflict|green_day_01|green_day_02|green_g_09|green_indoor|green_light|green_mono|green_yellow|greenish_contrasty|greenish_fade|greenish_fade_1|hackmanite|happyness_133|hard_teal_orange|harsh_day|harsh_sunset|helios|herderite|heulandite|hiddenite|highlights_protection|hilutite|hlg_1_1|hong_kong|horrorblue|howlite|hydracore|hyla_68|hypersthene|hypnosis|hypressen|ilford_delta_100|ilford_delta_3200|ilford_delta_3200_+|ilford_delta_3200_++|ilford_delta_3200_-|ilford_delta_400|ilford_fp_4_plus_125|ilford_hp_5|ilford_hp_5_+|ilford_hp_5_++|ilford_hp_5_-|ilford_hp_5_plus_400|ilford_hps_800|ilford_pan_f_plus_50|ilford_xp_2|indoor_blue|industrial_33|instantc|justpeachy|k_tone_vintage_kodachrome|kh_1|kh_10|kh_2|kh_3|kh_4|kh_5|kh_6|kh_7|kh_8|kh_9|killstreak|kodak_2383_constlclip|kodak_2383_constlmap|kodak_2383_cuspclip|kodak_2393_constlclip|kodak_2393_constlmap|kodak_2393_cuspclip|kodak_bw_400_cn|kodak_e-100_gx_ektachrome_100|kodak_ektachrome_100_vs|kodak_ektachrome_100_vs_generic|kodak_ektar_100|kodak_elite_100_xpro|kodak_elite_chrome_200|kodak_elite_chrome_400|kodak_elite_color_200|kodak_elite_color_400|kodak_elite_extracolor_100|kodak_hie_hs_infra|kodak_kodachrome_200|kodak_kodachrome_25|kodak_kodachrome_64|kodak_kodachrome_64_generic|kodak_portra_160|kodak_portra_160_+|kodak_portra_160_++|kodak_portra_160_-|kodak_portra_160_nc|kodak_portra_160_nc_+|kodak_portra_160_nc_++|kodak_portra_160_nc_-|kodak_portra_160_vc|kodak_portra_160_vc_+|kodak_portra_160_vc_++|kodak_portra_160_vc_-|kodak_portra_400|kodak_portra_400_+|kodak_portra_400_++|kodak_portra_400_-|kodak_portra_400_nc|kodak_portra_400_nc_+|kodak_portra_400_nc_++|kodak_portra_400_nc_-|kodak_portra_400_uc|kodak_portra_400_uc_+|kodak_portra_400_uc_++|kodak_portra_400_uc_-|kodak_portra_400_vc|kodak_portra_400_vc_+|kodak_portra_400_vc_++|kodak_portra_400_vc_-|kodak_portra_800|kodak_portra_800_+|kodak_portra_800_++|kodak_portra_800_-|kodak_portra_800_hc|kodak_t-max_100|kodak_t-max_3200|kodak_t-max_400|kodak_tmax_3200|kodak_tmax_3200_+|kodak_tmax_3200_++|kodak_tmax_3200_-|kodak_tmax_3200_alt|kodak_tri-x_400|kodak_tri-x_400_+|kodak_tri-x_400_++|kodak_tri-x_400_-|kodak_tri-x_400_alt|korben_214|landscape_1|landscape_10|landscape_2|landscape_3|landscape_4|landscape_5|landscape_6|landscape_7|landscape_8|landscape_9|lateafternoonwanderlust|latesunset|lc_1|lc_10|lc_2|lc_3|lc_4|lc_5|lc_6|lc_7|lc_8|lc_9|lenox_340|life_giving_tree|light_blown|lomo|lomography_redscale_100|lomography_x-pro_slide_200|low_contrast_blue|low_key_01|lucky_64|lushgreensummer|magenta_day|magenta_day_01|magenta_dream|magenta_yellow|magentacoffee|matrix|mckinnon_75|memories|metropolis|milo_5|minimalistcaffeination|modern_film|mono_tinted|monochrome_1|monochrome_2|moody_1|moody_10|moody_2|moody_3|moody_4|moody_5|moody_6|moody_7|moody_8|moody_9|moonlight|moonlight_01|moonrise|morning_6|morroco_16|mostly_blue|moviz_1|moviz_10|moviz_11|moviz_12|moviz_13|moviz_14|moviz_15|moviz_16|moviz_17|moviz_18|moviz_19|moviz_2|moviz_20|moviz_21|moviz_22|moviz_23|moviz_24|moviz_25|moviz_26|moviz_27|moviz_28|moviz_29|moviz_3|moviz_30|moviz_31|moviz_32|moviz_33|moviz_34|moviz_35|moviz_36|moviz_37|moviz_38|moviz_39|moviz_4|moviz_40|moviz_41|moviz_42|moviz_43|moviz_44|moviz_45|moviz_46|moviz_47|moviz_48|moviz_5|moviz_6|moviz_7|moviz_8|moviz_9|mute_shift|muted_01|muted_fade|mysticpurplesunset|nah|natural_vivid|nemesis|neon_770|neutral_teal_orange|neutral_warm_fade|newspaper|night_01|night_blade_4|night_king_141|night_spy|nightfromday|nostalgiahoney|nostalgic|nw-1|nw-10|nw-2|nw-3|nw-4|nw-5|nw-6|nw-7|nw-8|nw-9|old_west|once_upon_a_time|only_red|only_red_and_blue|operation_yellow|orange_dark_4|orange_dark_7|orange_dark_look|orange_tone|orange_underexposed|oranges|paladin|paladin_1875|pasadena_21|passing_by|pink_fade|pitaya_15|polaroid_664|polaroid_665|polaroid_665_+|polaroid_665_++|polaroid_665_-|polaroid_665_--|polaroid_665_negative|polaroid_665_negative_+|polaroid_665_negative_-|polaroid_665_negative_hc|polaroid_667|polaroid_669|polaroid_669_+|polaroid_669_++|polaroid_669_+++|polaroid_669_-|polaroid_669_--|polaroid_669_cold|polaroid_669_cold_+|polaroid_669_cold_-|polaroid_669_cold_--|polaroid_672|polaroid_690|polaroid_690_+|polaroid_690_++|polaroid_690_-|polaroid_690_--|polaroid_690_cold|polaroid_690_cold_+|polaroid_690_cold_++|polaroid_690_cold_-|polaroid_690_cold_--|polaroid_690_warm|polaroid_690_warm_+|polaroid_690_warm_++|polaroid_690_warm_-|polaroid_690_warm_--|polaroid_polachrome|polaroid_px-100uv+_cold|polaroid_px-100uv+_cold_+|polaroid_px-100uv+_cold_++|polaroid_px-100uv+_cold_+++|polaroid_px-100uv+_cold_-|polaroid_px-100uv+_cold_--|polaroid_px-100uv+_warm|polaroid_px-100uv+_warm_+|polaroid_px-100uv+_warm_++|polaroid_px-100uv+_warm_+++|polaroid_px-100uv+_warm_-|polaroid_px-100uv+_warm_--|polaroid_px-680|polaroid_px-680_+|polaroid_px-680_++|polaroid_px-680_-|polaroid_px-680_--|polaroid_px-680_cold|polaroid_px-680_cold_+|polaroid_px-680_cold_++|polaroid_px-680_cold_++_alt|polaroid_px-680_cold_-|polaroid_px-680_cold_--|polaroid_px-680_warm|polaroid_px-680_warm_+|polaroid_px-680_warm_++|polaroid_px-680_warm_-|polaroid_px-680_warm_--|polaroid_px-70|polaroid_px-70_+|polaroid_px-70_++|polaroid_px-70_+++|polaroid_px-70_-|polaroid_px-70_--|polaroid_px-70_cold|polaroid_px-70_cold_+|polaroid_px-70_cold_++|polaroid_px-70_cold_-|polaroid_px-70_cold_--|polaroid_px-70_warm|polaroid_px-70_warm_+|polaroid_px-70_warm_++|polaroid_px-70_warm_-|polaroid_px-70_warm_--|polaroid_time_zero_expired|polaroid_time_zero_expired_+|polaroid_time_zero_expired_++|polaroid_time_zero_expired_-|polaroid_time_zero_expired_--|polaroid_time_zero_expired_---|polaroid_time_zero_expired_cold|polaroid_time_zero_expired_cold_-|polaroid_time_zero_expired_cold_--|polaroid_time_zero_expired_cold_---|portrait_1|portrait_10|portrait_2|portrait_3|portrait_4|portrait_5|portrait_6|portrait_7|portrait_8|portrait_9|progressen|protect_highlights_01|prussian_blue|pseudogrey|purple|purple_2|red_afternoon_01|red_day_01|red_dream_01|redblueyellow|reds|reds_oranges_yellows|reeve_38|remy_24|rest_33|retro|retro_brown_01|retro_magenta_01|retro_summer_3|retro_yellow_01|rollei_ir_400|rollei_ortho_25|rollei_retro_100_tonal|rollei_retro_80s|rotate_muted|rotate_vibrant|rotated|rotated_crush|saturated_blue|saving_private_damon|science_fiction|serenity|seringe_4|serpent|seventies_magazine|shadow_king_39|shine|skin_tones|smart_contrast|smokey|smooth_clear|smooth_cromeish|smooth_fade|smooth_green_orange|smooth_sailing|smooth_teal_orange|soft_fade|softwarming|solarized_color|solarized_color_2|springmorning|sprocket_231|spy_29|street|studio_skin_tone_shaper|subtle_blue|subtle_green|subtle_yellow|summer|summer_alt|sunny|sunny_alt|sunny_rich|sunny_warm|super_warm|super_warm_rich|sutro_fx|sweet_bubblegum|sweet_gelatto|taiga|tarraco|teal_fade|teal_moonlight|tealmagentagold|tealorange|tealorange_1|tealorange_2|tealorange_3|technicalfx_backlight_filter|teigen_28|tensiongreen_1|tensiongreen_2|tensiongreen_3|tensiongreen_4|terra_4|the_matrices|thriller_2|toastedgarden|trent_18|true_colors_8|turkiest_42|tweed_71|ultra_water|undeniable|undeniable_2|unknown|urban_cowboy|uzbek_bukhara|uzbek_marriage|uzbek_samarcande|velvetia|very_warm_greenish|vibrant|vibrant_alien|vibrant_contrast|vibrant_cromeish|victory|vintage|vintage_163|vintage_alt|vintage_brighter|vintage_chrome|vintage_warmth_1|vireo_37|warm|warm_dark_contrasty|warm_fade|warm_fade_1|warm_highlight|warm_neutral|warm_sunset_red|warm_teal|warm_vintage|warm_yellow|well_see|whiter_whites|winterlighthouse|wipe|wooden_gold_20|yellow_55b|yellow_film_01|yellowstone|you_can_do_it|zed_32|zeke_39|zilverfx_bw_solarization|zilverfx_infrared|zilverfx_vintage_bw"

New-Item -ItemType Directory -Path "output"
New-Item -ItemType Directory -Path "output/spark-cube32-luts"
New-Item -ItemType Directory -Path "output/previews"
New-Item -ItemType Directory -Path "output/spark-hypercube-luts"
New-Item -ItemType Directory -Path "output/gmic-hald-luts"
New-Item -ItemType Directory -Path "output/snap-cube16-luts"

foreach ($i in $IN.Split("|")) {
    Write-Host $i
    & "gmic" "./test.jpg" "map_clut" $i "output" "./output/previews/$i-preview.jpg"
    & "gmic" "./neutral-luts/neutral-hald8.jpg" "map_clut" $i "output" "./output/gmic-hald-luts/$i-hald8-lut.png"
    & "gmic" "./neutral-luts/neutral-cube16.png" "map_clut" $i "output" "./output/snap-cube16-luts/$i-cube16-lut.png"
    & "gmic" "./neutral-luts/neutral-cube32.png" "map_clut" $i "output" "./output/spark-cube32-luts/$i-cube32-lut.png"
    & "gmic" "./neutral-luts/neutral-hypercube.png" "map_clut" $i "output" "./output/spark-hypercube-luts/$i-hypercube-lut.png"
}
positlabs commented 1 year ago

I haven't tested it specifically, but you can also run bash in windows via vscode or git bash