GIFCLRMP(1)

πŸ’– gifclrmp β€” extract colormaps from GIF images πŸ’–

okay bestie, gather round, because this little cutie lives in the GIFLIB Documentation and it's here to mess with your GIF colormaps. no cap.


✨ SYNOPSIS ✨

gifclrmp [-v] [-s] [-l mapfile] [-t trans] [-g gamma] [-i image] [-h]
         [gif-file]

🌸 DESCRIPTION 🌸

so like, gifclrmp is a whole program whose entire personality is modifying GIF image colormaps. πŸ’…

any local colormap inside a GIF file can be modified one at a time, or you can go for the global screen one instead. pick your fighter. 🫢


πŸ’… OPTIONS πŸ’…

  • -v β€” verbose mode, aka the "tell me everything" setting (show progress). it enables printout of running scan lines. she's chatty and we love that for her. πŸ’¬
  • -s β€” select the global screen color map. the big one. the main character. πŸ‘‘
  • -l mapfile β€” load color map from this file instead of the selected color map. swap in a whole new palette, iconic. 🎨
  • -t trans β€” change color index values. the change is made to both the selected color table and the raster bits of the selected image. a translation file is a list of pairs of before and after index values. and listen β€” at present, the before index values must be in ascending order starting from 0. that's the rules, bestie, don't fight them. 😭
  • -g gamma β€” apply gamma correction to the selected color map. glow-up but mathematically. ✨
  • -i image β€” select the color map of the numbered image. yes, numbered, so pick your fave. πŸ–ΌοΈ
  • -h β€” print one command line help, similar to Usage above. the little "help me" button. πŸ™ˆ
and if no GIF file is given, gifclip will try to read a GIF file from stdin. (yes, it says gifclip β€” that's literally what the page says, i'm not making this up πŸ’€)

πŸŽ€ NOTES πŸŽ€

  • the default operation is to dump out the selected color map in text format. so if you just run it with no fancy flags, that's the vibe check you're getting. πŸ“
  • the file to load/dump is simply one color map entry per line. each such entry line has four integers: "ColorIndex Red Green Blue", where color index is in ascending order starting from 1. yes, starting from 1, not 0, we don't make the rules. ⭐

πŸ‘‘ AUTHOR πŸ‘‘

Gershon Elber. absolute legend, we stan. 🫢


and that's the whole page, bestie β€” it's from GIFLIB, dated 2 May 2012. go forth and remap those colors. periodt. πŸ’–βœ¨πŸŽ€