GIMPLUT(1)
π 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-filepath β 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-formatformat β pick the format for the backtrace that goes into the file from--backtrace-file. your choices areplain,xmlorjson. pick your fighter. π-h,--helpβ brief help. the little "hey what does this do" moment. π-o,--outputpath β write the output to path instead of to stdout. she's going places. literally. π₯-s,--samplesnumber β use the number of samples you specify instead of the default256. 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
- fedora 43: cptutils 1.82-4.fc43 Β· GPL-2.0-or-later
- fedora 44: cptutils 1.82-6.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms