3

I've already learned how to generate BMP images based on the BMP files structure (here and here).

Now I'm looking for the PNG file structure but I haven't found any good explanations.

Do you know where I can find this explanation with schemes as well?

Danilo Valente
  • 11,270
  • 8
  • 53
  • 67

2 Answers2

4

The complete specification is available here: http://www.libpng.org/pub/png/spec/1.2/png-1.2.pdf

Note that the PNG format is much more complex than BMP, since it allows compression, etc.

timos
  • 2,637
  • 18
  • 21
1

What about Wikipedia's explanation? It seems to be written very well and is very easy to understand. There's also the specification, which goes into everything.

Matt S.
  • 13,305
  • 15
  • 73
  • 129