Converting Xojo colors to something Arduino NeoPixels can use

I am writing a little utility to take a .jpg and convert each pixel into color values that can be used in the Arduino NeoPixel library. So far I have extracted the color values in Xojo, but not sure about how to translate into something Arduino NeoPixel library will like. I want to drop them into an array there to be displayed on a NeoPixel strip . I think it needs to be an HSV format or “color wheel value”, or RGB. I would prefer not to use RGB as that would require 3 arrays in Arduino?.

Any suggestions? I am on thin ice here.



there are many methods to set the pixel color.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.