comparison Scan/STLcd/bitmap2Struct.py @ 397:cba3cefc6e56

Adding comment about using Pillow instead of PIL
author Jacob Alexander <haata@kiibohd.com>
date Sun, 01 Nov 2015 17:19:09 -0800
parents 2e0074f75855
children 3437e2246259
comparison
equal deleted inserted replaced
396:9ec758fc2e1f 397:cba3cefc6e56
17 17
18 # Imports 18 # Imports
19 import sys 19 import sys
20 20
21 from array import * 21 from array import *
22 from PIL import Image 22 from PIL import Image # Use pillow instead of PIL, it works with Python 3
23 23
24 24
25 # Convenience class to deal with converting images to a C array 25 # Convenience class to deal with converting images to a C array
26 class STLcdGraphic: 26 class STLcdGraphic:
27 # Some constants for the LCD Driver 27 # Some constants for the LCD Driver