Parsing PNGs with Node, Part 2

We left off the last post having successfully parsed the IHDR chunk, revealing metadata about the image. Here’s the image I’m working against: And here’s the final output of this post. The IHDR chunk fully parsed provides this information: { " width " : 150 , " height " : 200 , " bitDepth " : 8 , " colorType " : 0 , " compression " : 0 , " filter " : 0 , " interlace " : 0 } Now that we have the…