I'd like to decode a PNG on an ESP8266 and access to some pixels of the result. Has anyone got experience with PNG on Arduino? Is it feasible at all? I've done some research on PNG decoding libraries, found UPNG. Will check if it can be used in Arduino/ESP.
- The Overflow Blog
-
- Featured on Meta
-
-
Related
Hot Network Questions
- Eel-wielding man drowns and his enemy leaves town
- Visualizing Different Coordinate Representations of Complex Numbers
- What if a UK visa applicant has visited >30 countries in past 10 years
- What is the meaning/utility of __[] AKA BlankSequence[][]?
- Did Lucan make an elementary blunder about the zodiac in “Pharsalia” book 3?
- Will this this schematic modification work?
- What is the difference between V-inf+ことない and V-stem+ない
- How important is power loss prevention (PLP) in SSDs?
- What physical changes to the mouth would cause problems with articulation?
- how to define an expandable key-value command?
- Does Convergence of Arc Length Imply Uniform Convergence?
- Expected number of upsets in a knockout tournament
- Are the lampstands the same in Rev 11 and Zec 4?
- Best way to splice an old 8/2 cable with no ground?
- strange use of вышел
- What is a Pendulum word™?
- Why optional studs on MTB shoes?
- Why does Dr. House use Vicodin?
- Printing Service is not available after software update on 24.04
- What does "origin of the world" vulgo "Big Bang" mean?
- Does killing or harming someone in mind intentionally (not in real life) to cope with anxiety and not afraid of them will create bad karmas
- Does the intersection of a variety with rational singularities with a smooth variety have rational singularities?
- What inspired the name Shrek?
- Can I backup Legends Arceus save file to use, in case I want to format my Switch?
Is it feasabledepends on the the size of your picture, where it stored, and how you want to store the decompressed data. On an ESP8266 you have ~40kB of free RAM and a decoded picture with RGBA8888 format (2 bytes per pixel) and 128x128 px will take 32kB to store the decompressed image. Notice that the libray always decodes whole pictures, not blockwise -- you must be able to fit the complete decoded image into RAM.