I still have a lot to learn about gmic.
gmic -input macaw_large.jpg --colormap[-1] 5,1,1 -index[-2] [-1],0.5,1 -output[-2] 5color_macaw.gif
what I am trying to do is incorporate a predefined “palette” image in the above command.
I have built a palette.gif file (5 color look-up table) but am unsure how to refer to it.
I am trying to build a dithered image made up of 5 colors I have chosen.
The above command works but when I insert the palette.gif image it breaks.
I am unable to find any really obvious examples but have found the below tutorial.
http://gmic.eu/tutorial/_index.html but still unsure of the exact syntax.
Any ideas would be appreciated.
I am using linux mint and bash shell not windows.