PNG Image: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
No edit summary
Line 5: Line 5:




=== Format Specifications ===  
== Format Specifications ==


<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
Line 38: Line 38:
</div>
</div>


=== MultiEx BMS Script ===  
== MultiEx BMS Script ==  


Not written yet.
Not written yet.


=== Notes and Comments ===  
== Notes and Comments ==


None.
None.


=== Compatible Programs ===  
== Compatible Programs ==  


* IrfanView
* IrfanView

Revision as of 20:56, 24 January 2021

PNG


Format Specifications

// PNG Image file format

// big endian

// header
8 bytes - magic // "89 50 4E 47 0D 0A 1A 0A" (PNG)

num_of_chunks *
{
   4 bytes (uint32) - chunk size
   4 bytes (char) - chunk type  // e.g. "IHDR"
   x bytes - chunk data
   4 bytes - CRC
}

Critical chunks

IHDR chunk data

4 bytes (uint32) - image width
4 bytes (uint32) - image height
4 bytes (uint32) - depth  // e.g. "8"

MultiEx BMS Script

Not written yet.

Notes and Comments

None.

Compatible Programs

  • IrfanView
  • GIMP
  • MS Paint

Games

List of games using this file format:

  • Ragnarok Journey
  • Styx: Shards of Darkness
  • The Fall of Lazarus
  • The Tribez
  • Hamsterball
  • Many more...