This should not (but obviously does) require more explanation.
"Where do you get all those ideas?"
This Typescript project provides functions to encode pixelart bitmaps into (in common pixel dimensions) into low-resolution color maps.