C utility to convert from 8-bit RGB to csv 565 format