That is some hardcore icon harvesting. Rad!
Played around with 16 color images a little more, it's more frustrating than trying to make GIFs for a website in 1993, gifs have bigger color palettes and you could adapt the color table based on the original image. But this is restricted to only the 16 colors from 1987 Mac II, which here is a list of the RGB values of the Mac II system palette anyone is interested:
0,0,202
0,151,255
0,168,0
0,101,0
0,0,0
54,0,151
69,69,69
101,54,0
134,134,134
151,101,54
185,185,185
220,0,0
255,255,255
255,255,0
255,101,0
255,0,151
And if anyone is using LiveCode or OpenXTalk IDE to mess around with Decker here's script for converting an image control contents to another image control with the required Mac II color palette:
on mouseUp export image "Original" to myVariable as gif with palette getDeckerMacIIPalette() -- set the text of another image control to myVariable to preview: set the text of image "16ColorVersion" to myVariable -- then you can save the new gif to a file with: -- where tFileName is a file path you provide must provide -- -- open file tFileName for binary write;write myVariable to file tFileName;close file tFileName end mouseUp function getDeckerMacIIPalette get "255,255,255" & cr & \ "255,255,0" & cr & \ "255,101,0" & cr & \ "220,0,0" & cr & \ "255,0,151" & cr & \ "54,0,151" & cr & \ "0,0,202" & cr & \ "0,151,255" & cr & \ "0,168,0" & cr & \ "0,101,0" & cr & \ "101,54,0" & cr & \ "151,101,54" & cr & \ "185,185,185" & cr & \ "134,134,134" & cr & \ "69,69,69" & cr & \ "0,0,0" -- the sorting of this list effects the resulting image sort it numeric by item 1 of each return it end getDeckerMacIIPalette
It's worth noting that Decker's 16-color palette can be customized via the Patterns Interface.
See also: the PalImport contraption.