support RGB values that have dimension sizes other than uint16_t
throw an error about finding pcid==0