ImageConvert565 converts PNG, JPG and other supported image formats in C header files compatible with TFT libraries for Arduino displays. 

The TFT libraries for Arduino require pixel values to be stored in 16 bits, rather than 24 bits. This utility converts RGB (8 bit, 8 bit, 8 bit) images into RGB (5 bit, 6 bit, 5 bit)   or UInt16 values.  

./ImageConvert565 /folder/to/images