adafruit / Adafruit_CircuitPython_DotStar

Dotstarrin' away in CircuitPython land
MIT License
46 stars 38 forks source link

example `dotstar_image_pov.py` imports PIL #64

Open s-light opened 10 months ago

s-light commented 10 months ago

https://github.com/adafruit/Adafruit_CircuitPython_DotStar/blob/main/examples/dotstar_image_pov.py

is this example meant for linux? i thought its a normal uC example..

it uses from PIL import Image and i did not find any information how to use PIL from CircuitPython...

Neradoc commented 10 months ago

Yep, the 2 image examples are for desktop python. It would be interesting to write a version using adafruit_imageload or OnDiskBitmap.

s-light commented 10 months ago

thanks!

maybe add a note in the file comment?

i currently know of these two manual image reading & converting versions:

and i also thought of using adafruit_imageload and OnDiskBitmap

if i implement it in my project i try to strip it down and create a additional example here :-)