OCIOBAKELUT(1)

πŸ“¦
version 2.5.1 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– OCIOBAKELUT β€” NAME ✨

okay bestie, so ociobakelut is a User Command and it will literally create a new LUT or ICC profile from an OCIO config or LUT file(s). that's the whole vibe. πŸ‘‘


🌈 SYNOPSIS πŸ¦‹

usage:  ociobakelut [options] <OUTPUTFILE.LUT>

and here's the ✨example gallery✨, each one exactly as it was written, no cap:

example:  ociobakelut --inputspace lg10 --outputspace srgb8 --format flame lg_to_srgb.3dl
example:  ociobakelut --lut filmlut.3dl --lut calibration.3dl --format flame display.3dl
example:  ociobakelut --cccid 0 --lut cdlgrade.ccc --lut calibration.3dl --format flame graded_display.3dl
example:  ociobakelut --lut look.3dl --offset 0.01 -0.02 0.03 --lut display.3dl --format flame display_with_look.3dl
example:  ociobakelut --inputspace lg10 --outputspace srgb8 --format icc ~/Library/ColorSync/Profiles/test.icc
example:  ociobakelut --lut filmlut.3dl --lut calibration.3dl --format icc ~/Library/ColorSync/Profiles/test.icc

like, the range? unmatched. 🫢


πŸŽ€ OPTIONS ✨

πŸ’œ Using Existing OCIO Configurations

  • --inputspace %s β€” the Input OCIO ColorSpace (or Role). yes it can be a Role, she contains multitudes. 🌸
  • --outputspace %s β€” the Output OCIO ColorSpace (or Role).
  • --shaperspace %s β€” the OCIO ColorSpace or Role, but for the shaper. very specific. very important. πŸ’…
  • --looks %s β€” the OCIO looks to apply. go off. πŸ”₯
  • --iconfig %s β€” the Input .ocio configuration file. default is $OCIO, so if you don't say anything she'll just read your env var. iconic behavior. πŸ’–

🧚 Config-Free LUT Baking πŸ“

okay so this whole section: all options can be specified multiple times, and each one is applied in order. order matters, bestie. it's giving "sequence". πŸ’«

  • --cccid %s β€” Specify a CCCId for any following LUTs
  • --lut %s β€” Specify a LUT (forward direction) ➑️
  • --invlut %s β€” Specify a LUT (inverse direction) ⬅️
  • --slope %f %f %f β€” slope
  • --offset %f %f %f β€” offset (float)
  • --offset10 %f %f %f β€” offset (10-bit)
  • --power %f %f %f β€” power
  • --sat %f β€” saturation (ASC-CDL luma coefficients)

πŸ”₯ Baking Options πŸ”₯

  • --format %s β€” the LUT format to bake. the full menu, no substitutions:
    • flame (.3dl)
    • lustre (.3dl)
    • Academy/ASC Common LUT Format (.clf)
    • Color Transform Format (.ctf)
    • cinespace (.csp)
    • houdini (.lut)
    • iridas_cube (.cube)
    • iridas_itx (.itx)
    • resolve_cube (.cube)
    • truelight (.cub)
    • icc (.icc)
  • --shapersize %d β€” size of the shaper (default: format specific)
  • --cubesize %d β€” size of the cube (default: format specific)
  • --stdout β€” Write to stdout (rather than file). for the girlies who love a pipe. 🫢
  • --v β€” Verbose
  • --help β€” Print help message

πŸ‘‘ ICC Options 🌈

  • --whitepoint %d β€” whitepoint for the profile (default: 6505)
  • --displayicc %s β€” an ICC profile which matches the OCIO profiles target display
  • --description %s β€” a meaningful description, this will show up in UI like photoshop (defaults to "filename.icc"). so yes, put something cute in there. πŸ’…
  • --copyright %s β€” a copyright field added in the file (default: "No copyright. Use freely.")

⚠️ real talk though: --offset, --offset10, --slope, --power and --sat take numbers, in the exact order shown, and --slope/--offset/--offset10/--power all want three of them. don't be out here passing two and wondering why she's mad at you. 😭

and that's the whole page, bestie!! go bake something gorgeous. πŸŽ€βœ¨πŸ’–

this one came from the User Commands manual, dated August 2023, and the footer line was literally create a new LUT or ICC profil... August 2023 OCIOBAKELUT(1) β€” so, mwah, signing off with that exact energy. πŸ¦‹