|
|
|
|
|
by whiskers
1114 days ago
|
|
Context: I'm the CEO of Pimoroni who make this product. I feel like something is missing here but I don't know what. Our examples show large JPEGs being loaded in MicroPython no problem. For example this one from our examples is 100kB: https://github.com/pimoroni/pimoroni-pico/blob/main/micropyt... During testing I worked with many images that were larger than that and never ran into issues either. I think the examples provided are pretty clear and demonstrate how to use the product reasonably. We focus on MicroPython because the C++ SDK for connectivity is pretty gnarly for most people to work with - it is our intention you should never have to leave MicroPython to use this product. No idea what the battery issue could be but I've never heard of any problem like that before and we've shipped thousands of this product over the past year. We'd be happy to get the unit back and test it for you if you want - or just replace it! Please drop me a line if you want to discuss these issues further and I'll do my best to help! |
|
A 100kB JPEG is hardly a "large" JPEG in 2023. From the linked sales page (https://shop.pimoroni.com/products/inky-frame-5-7?variant=40...) the first line of the description states:
"A large Pico W powered E InkĀ® photo frame ..."
From this, many are going to assume that they can simply load JPEG photo files from their cell phone and/or camera directly onto the device. JPEG photos from my cell phone range anywhere from 1Meg to 7-8Meg depending upon the scene being photographed. All of those photos begin at a compressed size substantially larger than 256Kbyte. This is the size JPEG that someone is going to think that a "photo frame" can process and display.
Additionally, the pixel resolution of the e-ink is stated as "600 x 448 pixels" (same sales page). Again due to the "photo frame" advertising, even if someone took their JPEG photos and scaled them down to 600x448, they would not likely also quantize to 7 colors at the same time (unless your docs give them very clear instructions to do so somewhere). So they would end up with a RGB 600x448 image, and 600 * 448 * 3 is 806,400 bytes just to hold the uncompressed bitmap from a JPEG of that pixel resolution and 3 bytes per pixel. That size is a bit over three times the amount of RAM quoted for the PI (256kB).