-
Notifications
You must be signed in to change notification settings - Fork 118
Description
Hello, I hope this is the right place for this!
I've been having trouble using the Image widget. Regardless of which source URL I use, Pixlet gives me this error:
Error in Image: decoding image data: image: unknown format
At first I thought it was because the image I'm trying to use doesn't have a file extension (not something that's in my control, it's not my API!), or maybe something to do with hotlink protection/headers, so I used an image from my own website and got the same error.
I then tried using curl with the same image URL, and it worked:
HTTP/1.1 200 OK
Date: Sun, 20 Apr 2025 02:11:28 GMT
Server: Apache
Upgrade: h2,h2c
Connection: Upgrade
Last-Modified: Sun, 31 Mar 2024 17:11:38 GMT
ETag: "4d47d6b-23aa-614f7f7416680"
Accept-Ranges: bytes
Content-Length: 9130
Content-Type: image/png
In a desperate moment, I even tried "tricking" Pixlet by fetching the image in a more roundabout way:
presenter_image_as_a_string = str(fetch_presenter_image.body)
encoded_presenter_image = base64.encode(presenter_image_as_a_string)
But nope, same issue – although, if I encode the exact same image into Base64 using this tool, Pixlet can decode it just fine.
I did some googling and found this Reddit thread, where at least two other people are facing the same problem:
https://www.reddit.com/r/TIDBYT/comments/1je534n/pixlet_can_no_longer_decode_images
Hopefully you can shed some light on what's happening.
Thanks so much.
EDIT: Just seen that the Tidbyt project is dead, not that you can tell that from the website. What a waste.