@VRonin

Great answer !, especially to be adapted to my needs. Anyway, I think I should try with Format_Indexed8 instead as I need to store the color values which requires more than a single bit:

0 : off
1 : Green
2 : Red
3 : Orange

(Merci pour cette réponse)