mirror of
https://github.com/status-im/nimPNG.git
synced 2025-02-25 18:55:29 +00:00
update readme.md
This commit is contained in:
parent
0d81e2d6e7
commit
9e196c2376
@ -1,6 +1,8 @@
|
||||
# nimPNG
|
||||
Portable Network Graphics Encoder and Decoder written in Nim store lossless image with good compression
|
||||
|
||||
[![Build Status][badge-nimpng-travisci]][nimpng-travisci]
|
||||
|
||||
all PNG standard color mode are supported:
|
||||
|
||||
- LCT_GREY = 0, # greyscale: 1,2,4,8,16 bit
|
||||
@ -88,3 +90,8 @@ pixels are stored as raw bytes using Nim's string as container:
|
||||
| r1,g1,b1,r2,g2,b2,...,rn,gn,bn | RGB 8 bit |
|
||||
| grey1,grey2,grey3, ..., greyn | GREY 8 bit |
|
||||
| grey1,a1,grey2,a2,...,greyn,an | GREY ALPHA 8 bit |
|
||||
|
||||
|
||||
[nimpng-travisci]: https://travis-ci.org/jangko/nimPNG
|
||||
[badge-nimpng-travisci]: https://travis-ci.org/jangko/nimPNG.svg?branch=master
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user