Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorks committed Feb 24, 2021
1 parent bbbb511 commit 4b34d1f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ The interface consists of one function.

What is it?
-----------
_tPNG has one goal: to retrieve raw pixels for immediate use without hassle._
_tPNG has one goal: to retrieve raw pixels for immediate use from a PNG file without hassle._




The header contains one definition for one function, which returns a heap copy of
32bit RGBA-encoded pixels, a common format for graphics-oriented software.

tPNG is a good choice if you want to get started quickly with using
PNG files without dealing with the configuration, compilation, and
management of libpng or other image loaders.
Expand All @@ -27,7 +32,7 @@ Why use tPNG?
------------
* No external dependencies.
* Easy to use, easy to drop in a project.
* No need for a separate shared library.
* No need for a separate shared libraries of any kind.
* Very little executable overhead (~2000 lines of C code).
* Thread-safe.
* Written in portable, plain C99 (mostly for the sized ints!).
Expand Down

0 comments on commit 4b34d1f

Please sign in to comment.