Extract image palette from images and chuck onto STDOUT