I would like to display 65k color animated gifs on my oled. I'm using the adafruit library for https://learn.adafruit.com/096-mini-color-oled Now I need to convert a significant number of images to hex arrays. I found a couple of tools that can deal with monochrome images and I found this: https://www.digole.com/tools/PicturetoC_Hex_converter.php which might work for individual images, but is impractical for batch processing. I also found this, but it appears to also be intended for individual images and doesn't simply work in wine. So isn't there some linux commandline magic to do that?
I found this plugin to be satisfactory: https://khalim19.github.io/gimp-plugin-export-layers/ It's not a single elegant command, but is quite fast and maybe can be optimized with some scripting.