Claude Code v2.1.251 ·
PNG signature constant kept as a shared buffer
The PNG file signature is kept once and reused for recognising pasted images.
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.251,
Internal ChangesSection of the release
What
The eight bytes that mark the start of a PNG file are held in one shared constant, used for recognising PNG data such as pasted images.
Evidence
Buffer.from([137, 80, 78, 71, 13, 10, 26, 10])
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.251 →