GIMPLUT(1)

πŸ“¦ version 1.82, in fedora 43, fedora 44

πŸ’… GIMPLUT β€” like, the manual page bestie

okay so you found the gimplut page in the User commands section of the manual, and honestly? iconic. let's get into it. πŸŽ€


✨ NAME ✨

gimplut β€” convert GIMP gradient (ggr) files to binary lookup tables (lut). no cap, that's literally the whole job. πŸ¦‹


🌈 SYNOPSIS 🌈

gimplut [-h] [-o path] [-s samples] [-v] [-V] [path]

πŸ’– DESCRIPTION πŸ’–

the gimplut utility converts gradient files from the GIMP, the GNU Image Manipulation Program, into a binary lookup table format that medical imaging software uses a LOT β€” specifically the (X)Medcon package. so yeah, she's serving crossover energy between art software and medical imaging and we're obsessed with her. πŸ’…

so the LUT format is literally just n red bytes, then n green bytes, then n blue bytes, and each one is read as an integer from 0 to 255. that's it. that's the format. simple, clean, main character energy. ✨

and the vibes on input/output? the program reads from stdin if you don't hand it a file as the final argument, and it writes to stdout if you don't specify the --output option. so it'll just vibe with your pipes if you let it. 🫢


πŸ‘‘ OPTIONS πŸ‘‘

  • --backtrace-file path β€” tell her where to write a formatted backtrace. the file only gets created if there's actually a backtrace to write, which typically happens when an error occurs. so, no errors, no file, bestie. πŸ™ˆ
  • --backtrace-format format β€” pick the format for the backtrace that goes into the file from --backtrace-file. your choices are plain, xml or json. pick your fighter. πŸŽ€
  • -h, --help β€” brief help. the little "hey what does this do" moment. πŸ’œ
  • -o, --output path β€” write the output to path instead of to stdout. she's going places. literally. πŸ”₯
  • -s, --samples number β€” use the number of samples you specify instead of the default 256. more samples, more ✨detail✨.
  • -v, --verbose β€” verbose operation. she will tell you things. she will yap. affectionately. πŸ’–
  • -V, --version β€” version information. say hi to her real quick. ⭐

⚠️ CAVEATS ⚠️

the alpha channel of the input is completely ignored in the output. like, gone. not invited to the party. don't come looking for it. 😭
also, at some point in the future the functionality of this program will be transferred to the svgx(1) program. so enjoy her solo era while it lasts. 🌸

🧚 AUTHOR 🧚

J.J. Green wrote this. absolute legend, no notes. πŸ‘‘


and that's the page bestie!! this is cptutils version 1.82, dated 9 July 2024 β€” she's a lil vintage but she ate and left no crumbs. go convert some gradients fr fr πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from