This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
#encoding=utf-8 | |
# Convert image to Pwmout grayscale data for dot-matrix LED | |
# Input image format can be JPEG, PNG etc | |
from PIL import Image | |
import sys | |
if __name__ == "__main__": |