This is a blog showing how I converted images to 16 bit integer arrays to be displayed on an LCD.
The Arduino code uses the Adafruit_GFX.h and Adafruit_ILI9341.h libraries to display these images.
Links:
Save the Bees - Machine Learning
Image Conversion to Integer Array for LCD Display