OCIOCONVERT(1)

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

πŸ’– OCIOCONVERT(1) πŸ’–

okay bestie, gather round, because this is ocioconvert from the User Commands manual section, and it's literally the glow-up your images have been waiting for ✨


🌸 NAME 🌸

ocioconvert β€” apply colorspace transform to an image πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

ocioconvert β€” apply colorspace transform to an image. no cap, that's the whole vibe: you feed it a picture, you tell it what colorspace it's in, you tell it where it's going, and it comes out the other side looking correct πŸŽ€

here's the usage, and I need you to look at it carefully because there are like three whole modes and they are NOT the same:

usage: ocioconvert [options]  inputimage inputcolorspace outputimage
outputcolorspace

       or: ocioconvert [options] --lut lutfile inputimage outputimage
       or: ocioconvert [options] --view inputimage inputcolorspace
       outputimage displayname viewname

so like, mode one: straight colorspace to colorspace conversion. mode two: you're going through a LUT instead. mode three: you're converting to a (display, view) pair instead of an output colorspace. pick your fighter 🫢


✨ OPTIONS ✨

  • --lut β€” convert using a LUT rather than a config file πŸ”₯
  • --view β€” convert to a (display,view) pair rather than to an output color space πŸ‘€
  • --gpu β€” use GPU color processing instead of CPU. and yes, CPU is the default, so if you want the GPU you have to actually ask for it πŸ’…
  • --gpulegacy β€” use the legacy (i.e. baked) GPU color processing instead of the CPU one. heads up: --gpu is ignored when you use this one πŸ™ˆ
  • --gpuinfo β€” output the OCIO shader program πŸ‘‘
  • --help β€” print help message πŸŽ€
  • -v β€” display general information 🌈

🌟 OpenImageIO options: 🌟

  • --float-attribute %L β€” "name=float" pair defining OIIO float attribute for outputimage ✨
  • --int-attribute %L β€” "name=int" pair defining OIIO int attribute for outputimage ✨
  • --string-attribute %L β€” "name=string" pair defining OIIO string attribute for outputimage ✨
  • --croptofull β€” crop or pad to make pixel data region match the "full" region πŸ–ΌοΈ
  • --ch %s β€” select channels (e.g., "2,3,4") 🎚️

ngl bestie, if you're reaching for --gpulegacy just know that --gpu is not gonna do anything for you there. they said what they said. πŸ’€

and that's the whole page, fr fr πŸ’œ this one's ocioconvert -- apply colorspac..., August 2023 edition β€” go forth and convert, you absolute main character πŸ§šβ€β™€οΈπŸ‘‘