LOOKUP(1)

πŸŽ€ NAME πŸŽ€

okay so bestie, this is Lookup from the LOOKUP(1) manual β€” it translates colors through an xicc. that's the whole vibe. πŸ’…


✨ DESCRIPTION ✨

Lookup does exactly what it says on the tin: it looks up ICC or CAL colors. we are on Version 1.6.3, no cap. πŸ¦‹


🌸 SYNOPSIS 🌸

xicclu [-options] profile_or_cal

then all the options, one by one, because we do NOT skip ✨

  • -v level β€” how much tea you want spilled. Verbosity level 0 - 2 (default = 1) πŸ«–
  • -g β€” plot a slice instead of looking colors up. (Default white to black) 🌈
  • -G s:L:a:b β€” override the plot slice start with a Lab or Jab co-ordinate πŸ“
  • -G e:L:a:b β€” override the plot slice end with a Lab or Jab co-ordinate 🏁
  • -f function β€” pick your direction, girly:
    • f = forward
    • b = backwards
    • g = gamut
    • p = preview if = inverted forward
    • ib = inverted backwards
  • -i intent β€” the rendering intent moment:
    • a = absolute
    • r = relative colorimetric
    • p = perceptual
    • s = saturation
  • -o order β€” ordering priorities:
    • n = normal (priority: lut > matrix > monochrome)
    • r = reverse (priority: monochrome > matrix > lut)
  • -p oride β€” override the PCS, choose your fighter:
    • x = XYZ_PCS
    • X = XYZ * 100
    • l = Lab_PCS
    • L = LCh
    • y = Yxy
    • j = CIECAM02 Appearance Jab
    • J = CIECAM02 Appearance JCh
  • -s scale β€” scale the device range 0.0 - scale rather than 0.0 - 1.0 πŸ“
  • -e flag β€” video encode device input as: 🎬
  • -E flag β€” video decode device output as: πŸ“Ί

and here's the flag menu for both of those:

  • n β€” normal 0..1 full range RGB levels (default) πŸ’…
  • t β€” (16-235)/255 "TV" RGB levels
  • 6 β€” Rec601 YCbCr SD (16-235,240)/255 "TV" levels
  • 7 β€” Rec709 1125/60Hz YCbCr HD (16-235,240)/255 "TV" levels
  • 5 β€” Rec709 1250/50Hz YCbCr HD (16-235,240)/255 "TV" levels
  • 2 β€” Rec2020 YCbCr UHD (16-235,240)/255 "TV" levels
  • C β€” Rec2020 Constant Luminance YCbCr UHD (16-235,240)/255 "TV" levels
  • -k [zhxrlv] β€” black value target, choose wisely:
    • z = zero K
    • h = 0.5 K
    • x = max K
    • r = ramp K (def.)
    • l = extra PCS input is portion of K locus
    • v = extra PCS input is K target value
  • -k p stle stpo enpo enle shape β€” the full parameter flex, and yes every single one matters:
    • stle: K level at White 0.0 - 1.0
    • stpo: start point of transition Wh 0.0 - Bk 1.0
    • enpo: End point of transition Wh 0.0 - Bk 1.0
    • enle: K level at Black 0.0 - 1.0
    • shape: 1.0 = straight, 0.0-1.0 concave, 1.0-2.0 convex
  • -k q stle0 stpo0 enpo0 enle0 shape0 stle2 stpo2 enpo2 enle2 shape2 β€” transfer extra PCS input to dual curve limits πŸŒ€
  • -K parameters β€” same as -k, but the target is K locus rather than K value itself πŸ”€
  • -l tlimit β€” set total ink limit, 0 - 400% (estimate by default) πŸ–ŒοΈ
  • -L klimit β€” set black ink limit, 0 - 100% (estimate by default) πŸ–€
  • -a β€” show actual target values if clipped βœ‚οΈ
  • -u β€” warn if output PCS is outside the spectrum locus ⚠️
  • -m β€” merge output processing into clut 🧬
  • -b β€” use CAM Jab for clipping ✨
  • -c viewcond β€” set viewing conditions for CIECAM97s, either an enumerated choice, or a parameter:value changes. this one is a whole menu, buckle up πŸŽ€

the enumerated choices, aka the vibe presets:

  • pp β€” Practical Reflection Print (ISO-3664 P2)
  • pe β€” Print evaluation environment (CIE 116-1995)
  • pc β€” Critical print evaluation environment (ISO-3664 P1)
  • mt β€” Monitor in typical work environment
  • mb β€” Bright monitor in bright work environment
  • md β€” Monitor in darkened work environment
  • jm β€” Projector in dim environment
  • jd β€” Projector in dark environment
  • tv β€” Television/Film Studio
  • pcd β€” Photo CD - original scene outdoors
  • ob β€” Original scene - Bright Outdoors
  • cx β€” Cut Sheet Transparencies on a viewing box

and the parameter:value tweaks, for the girlies who need precision:

  • s:surround β€” n = auto, a = average, m = dim, d = dark, c = transparency (default average)
  • w:X:Y:Z β€” Adapted white point as XYZ (default media white, Abs: D50)
  • w:x:y β€” Adapted white point as x, y
  • a:adaptation β€” Adaptation luminance in cd.m^2 (default 50.0)
  • b:background β€” Background % of image luminance (default 20)
  • l:imagewhite β€” Image white in cd.m^2 if surround = auto (default 250)
  • f:flare β€” Flare light % of image luminance (default 0)
  • g:glare β€” Flare light % of ambient (default 1)
  • g:X:Y:Z β€” Flare color as XYZ (default media white, Abs: D50)
  • g:x:y β€” Flare color as x, y

🫢 how to feed it your colors 🫢

the colors to be translated should be fed into standard in, one input color per line, white space separated. here's the ground rules bestie, do not skip them:

  • a line starting with a # will be ignored πŸ’œ
  • a line not starting with a number will terminate the program πŸ’€
  • use -v0 for just output colors 😌

okay that's the whole page, you ate it, you're welcome πŸ’– this came from xicclu, September 2014, and it lives in LOOKUP(1) β€” now go translate some colors, main character 🌈✨