I'm trying to create really small PNG thumbnails from JPGs using GraphicsMagick.
gm convert coolphoto.jpg -resize 16x16 -colors 6 coolphoto_16x16_6color.png
These get down to 342 bytes, but they seem to have a few fields I don't want, I see these strings floating in the files:
EXtJPEG-Quality EXtJPEG-Colorspace EXtJPEG-Colorspace-Name EXtJPEG-Sampling-factors
I want to get rid of these to make the file even smaller. I can get rid of these using ImageOptim, taking size to 181 byets, but it's sort of built to be a UI-based app.
Is there a commandline tool, something like GraphicsMagick, that can do this?