Rascals are always sociable, and the chief sign that a man has any nobility in his character is the little pleasure he takes in others company. Arthur Schopenhauer

PNG is my favourite file format of all time. Version 1.0 of the specification was released in 1996 (before I was born!) and the format remains widely used to this day.

I think the best way to get to grips with a file format is to write code for reading or writing it. In this instance we’re going to write a PNG, because we can choose to focus on the simplest subset of PNG features. Hello, PNG!