Reduce the ppm file to create an image to be displayed on the RGB matrix panel 16x32.
pip install Pillow
resize.py
encoding:UTF-8
#-*- codinf:utf-8 -*-
from PIL import Image
img = Image.open("{Jpg file before conversion}")
width, height = img.size
img = img.resize((int(img.width / (img.height / 16 )), 16))
img.save("{Converted ppm file}")
python resize.py