Skip to content

Instantly share code, notes, and snippets.

@graham768
Created March 9, 2018 19:20
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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