I changed trex.py so that it always pulls all the rgb values, then it passes the selected colors wanted in your image in the form of meta['colors]. Then added a new function in imager which tests the colors passed and if a color is not selected, it will fill that matrix with nans instead of the color.
I changed trex.py so that it always pulls all the rgb values, then it passes the selected colors wanted in your image in the form of meta['colors]. Then added a new function in imager which tests the colors passed and if a color is not selected, it will fill that matrix with nans instead of the color.