COLOR(1)

πŸ‘‘ COLOR(1) β€” ok bestie, we're color correcting πŸ’–

so you found the cctiff manual, the one in the User Commands section of the COLOR(1) page, and honestly? iconic. this is your girl's guide to making a TIFF (or a JPEG, we're flexible πŸ¦‹) look exactly the way it's supposed to look, by stacking up ICC profiles and/or Calibrations in whatever order your heart desires. let's get into it ✨


🌸 NAME 🌸

Color β€” Color Correct a TIFF file using any sequence of ICC profiles or Calibrations.

like, that's the whole vibe. no cap. 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

Color Correct a TIFF or JPEG file using any sequence of ICC profiles or Calibrations.

periodt. that's what cctiff does and she does it well. πŸ’…


✨ SYNOPSIS ✨

cctiff
[-options] {[-iintent] profile.icc | calbrtn.cal ...} infile.(tif|jpg) outfile.(tif|jpg)

okay so the shape of it is: you call cctiff, you hand it some options, then a whole sequence of either ICC profiles or calibration files (each one optionally prefixed with an -i intent), and then finally your input file and your output file. in that order. always. no skipping steps bestie πŸ™ˆ


πŸŽ€ THE OPTIONS πŸŽ€

🌈 the general ones (these go before the profile parade)

  • -v β€” Verbose. she'll tell you what she's doing. main character energy, narrating her own life. πŸ‘‘
  • -c β€” Combine linearisation curves into one transform. one transform, one slay. ✨
  • -p β€” Use slow precise correction. slow and precise, like a queen who takes her time getting ready. πŸ’…
  • -k β€” Check fast result against precise, and report. she does the quick one, does the careful one, and then reports back to you whether they matched. very thorough of her ngl.
  • -r n β€” Override the default CLUT resolution. you get to pick n. yes you, bestie. πŸŽ€
  • -t n β€” Choose output encoding from 1..n. options on options. 🌸
  • -f [T|J] β€” Set output format to Tiff or Jpeg. Default is same as input, so if you don't say anything she just mirrors what you gave her. cute. T for TIFF, J for JPEG. πŸ¦‹
  • -q quality β€” Set JPEG quality 1..100. Default 80. treat her right and maybe bump it up. πŸ”₯
  • -a β€” Read and Write planes > 4 as alpha planes. yes queen, handle the alpha planes too, we love a multi-plane moment. πŸ’œ
  • -I β€” Ignore any file or profile colorspace mismatches. like when your outfit doesn't match but you go out anyway. unbothered. 😌
  • -D β€” Don't append or set the output TIFF or JPEG description. she stays mysterious. no description, no lore. 🀫
  • -e profile.[icc | tiff | jpg] β€” Optionally embed a profile in the destination TIFF or JPEG file. you can literally tuck a profile inside the output. a little gift. a little snack for later. πŸ“

πŸ’« then, for each profile in sequence:

  • -i intent β€” the intent, and here's the menu:
    • p = perceptual
    • r = relative colorimetric
    • s = saturation
    • a = absolute colorimetric

pick your fighter. ✨

  • -o order β€” the order, and the two flavours are:
    • n = normal (priority: lut > matrix > monochrome)
    • r = reverse (priority: monochrome > matrix > lut)

see the little > guys? that's the priority chain, and r literally flips the whole thing around. πŸ’«

  • profile.[icc | tiff] β€” Device, Link or Abstract profile.

( May be embedded profile in TIFF/JPEG file)

so it can also be a profile that's already hiding inside a TIFF or JPEG. sneaky. πŸ™ˆ

🧚 and for each calibration file in sequence:

  • -d dir β€” f = forward cal. (default), b = backwards cal. so dir is either f or b, and if you don't say anything it defaults to f. forward is the default bestie, keep up 🫢
  • calbrtn.cal β€” Device calibration file. that's the .cal file itself, in the flesh. πŸ’–

πŸ“ and the files themselves:

  • infile.tif/jpg β€” Input TIFF/JPEG file in appropriate color space. give her something in the appropriate color space, she's not a miracle worker (ok she kind of is, but still). ✨
  • outfile.tif/jpg β€” Output TIFF/JPEG file. and that's where the glow-up lands. 🌈

heads up bestie: the order of everything matters so much here β€” options first, then the profile/calibration sequence with their -i intents, then infile, then outfile. the synopsis is the blueprint, don't freestyle it. πŸ’€

kisses, and go correct some colors, β€” this page came from the cctiff source, version dated September 2014, and it lives at the bottom of COLOR(1) in the User Commands section. she's been serving since 2014 and she's still that girl. πŸŽ€πŸ‘‘πŸ’–