How to use Imagick php to generate a bmp file with a palette offset -
I am trying to use iMagic to generate 8bit bmp from jpg via phag. But I would like to start pixel colors on index 16 compared to 0. In the code given below, how do I generate BMP in the correct format, but the palette index is missing from 0. Is there a way to ensure that the palette starts in another index?
$ pixel = $ average :: getImagePixelColor ()
and then $ pixel-> Getcolor ()
$ pixel-> Set color ()
according to the new palette.