Last active
July 11, 2025 23:04
-
-
Save wallentx/d03ac6cb784341da9cf53caf94fa700d to your computer and use it in GitHub Desktop.
Change image on button press - for the Inky Impression - 5.7", 7-color eInk display for the RPi
This file contains hidden or 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 python3 | |
import sys | |
from PIL import Image | |
from inky.inky_uc8159 import Inky | |
inky = Inky() | |
saturation = 0.5 | |
if len(sys.argv) == 1: | |
print(""" | |
Usage: {file} image-file | |
""".format(file=sys.argv[0])) | |
sys.exit(1) | |
image = Image.open(sys.argv[1]) | |
if len(sys.argv) > 2: | |
saturation = float(sys.argv[2]) | |
inky.set_image(image, saturation=saturation) | |
inky.show() |
Hello, I am new to this. COuld you help me understand why is this showing up?: FileNotFoundError: [Errno 2] No such file or directory: 'inkywrite'
@ecoco6
https://gist.github.com/wallentx/9a8c983f028c198f3bf1ff9dd4d3ad5f
…
On Thu, May 23, 2024, 10:53 ecoco6 ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
Hello, I am new to this, why is this showing up?
FileNotFoundError: [Errno 2] No such file or directory: 'inkywrite'
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/wallentx/d03ac6cb784341da9cf53caf94fa700d#gistcomment-5066773>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACES6UBSGMA5QGUC6Q42MLTZDYGHVBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVEYTANRWGA2DIMRWU52HE2LHM5SXFJTDOJSWC5DF>
.
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I am new to this.
COuld you help me understand why is this showing up?:
FileNotFoundError: [Errno 2] No such file or directory: 'inkywrite'