ST7789 240X280 Display on esp32s3 not working

I was able to get the display to work however I was unable to figure out how to convert the camera input into a 16 bit color for the screen to read from but I was able to get it to work and display individual colors