I have a unique programming scenario where I am trying to save spectral data in an 8 bit paletted PNG image. This allows me to change the palette to tune the spectral regions to provide emphasis. My problem is that once I have created the PNG, I have no idea if there is a way in Processing to retrieve the indexed palette info to recreate the spectral data as an array.
I can't just query the RGB value per pixel, I need to get access to the palette index. Thanks in advance.