Skip to content

sherrellbc/png_unpacker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PNG Unpacker

This is a very simple/brittle PNG decoder that was briefly implemented to support an academic final project. It is likely to fail in most general cases and should not be depended on for any reason.

  • Only tested on x86
  • Fails to decode images with more than one IDAT chunk
  • Build with make (requires zlib)
  • Only a few ancillary chunks are handled
  • Add a new entry to g_chunk_handlers to support new chunk types

Below is a simple example of the expected output (though the final decoded prints are commented out by default). This case is very simple; the decoder can decode all images contained in imgs.

Example Output

About

A simple unpacker for PNG formatted image files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published