Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Converts an entire directory of LUT files into HaldCLUT using G'MIC
#1/bin/bash
# run this script in the directory containing your luts
for file in *
do
gmic -input_cube "$file" -r 64,64,64,3,3 -r 512,512,1,3,-1 -o "$file".png
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.