KIMG(1)

πŸ“¦ version 0.4.0, in nixos 26.05, nixpkgs unstable

πŸ’… KIMG(1) β€” the KnightOS image glow-up station ✨

ok so bestie, welcome to kimg(1) β€” it's a whole manual page and it's literally about turning your regular pics into KnightOS images. no cap. πŸŽ€


🌸 SYNOPSIS 🌸

kimg [options] input output

πŸ¦‹ DESCRIPTION πŸ¦‹

kimg is a KnightOS image conversion tool. it takes any image format that stb_image supports and converts it into the KnightOS image format β€” that's the whole job, and she does it slayfully πŸ’–


✨ OPTIONS ✨

  • -b, --bare β€” skips the KIMG headers entirely and just writes the raw image data out. no wrapping, no ceremony, just the pixels 🫢
  • -c, --castle β€” the fancy one πŸ‘‘ it implies -m and -n, and enforces the use of a 16x16 sprite. so no palette, no compression, and a strict 16x16 size. periodt.
  • -m, --monochrome β€” converts the image into a monochrome KIMG file. also implies -p (bc obviously, no palette when you're mono πŸ’€).
  • -n, --no-compression β€” turns off the (lossless) KIMG compression. size queen behavior, but make it uncompressed πŸ™ˆ
  • -p, --no-palette β€” tells kimg not to use a color palette. raw color energy only 🌈
  • -x, --compression <format> β€” picks the compression algorithm. your choices are:
    • NONE
    • RLE (this one's the default, iykyk) πŸ“

πŸ”₯ EXAMPLES πŸ”₯

kimg example.png example.img

this one converts example.png (portable network graphics) into example.img (kimg). iconic, honestly. she ate and left no crumbs ⭐


πŸ‘‘ AUTHORS πŸ‘‘

maintained by Drew DeVault <sir@cmpwn.com>, who is assisted by other open source contributors. bestie is not doing this alone, fr fr 🫢

for more info about kimg development, go look at https://github.com/KnightOS/kimg 🧚


🌈 SEE ALSO 🌈

convert(1) β€” go check her out too πŸ’…


and that's the page, bestie!! this cutie was brought to you by the KIMG(1) manual, version dating all the way back to 01/01/1980 β€” yes, the source/version and date are literally that iconic vintage moment πŸŽ€βœ¨ go forth and convert, ily πŸ’–

πŸ“¦ where this page comes from