Parsing PNGs with Node, Part 4

We left off the last post looping over each pixel, wahoo! So this final post will focus on ✨filter types✨. Here’s the image I’m working against: And here’s the final output of this post. In the last post, we were splitting the scanline into individual rows and looping over each byte in the row. Conveniently enough, the sample image has a 1:1 pixel to byte ratio, so we don’t need to do anything…