Update img2rgb565.py docstring

master
rdagger 7 months ago committed by GitHub
parent fa78877ce3
commit 672997ca35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,5 +1,10 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
"""Utility to convert images to raw RGB565 format.""" """Utility to convert images to raw RGB565 format.
Usage:
python img2rgb565.py <your_image>
<your_image> is the full path to the image file you want to convert.
"""
from PIL import Image from PIL import Image
from struct import pack from struct import pack

Loading…
Cancel
Save