I don't know if this is too opaque – a PNG *always* starts with the byte array (in decimal) `[137, 80, 78, 71, 13, 10, 26, 10]`. When interpreted as ASCII, the 2nd, 3rd and 4th bytes *always* spell out "PNG" !