mirror of
https://github.com/status-im/nimPNG.git
synced 2025-02-18 15:38:35 +00:00
update readme.md
This commit is contained in:
parent
b0839cf7a0
commit
6623f84bec
@ -3,13 +3,13 @@ version = "0.2.4"
|
|||||||
author = "Andri Lim"
|
author = "Andri Lim"
|
||||||
description = "PNG encoder and decoder"
|
description = "PNG encoder and decoder"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
skipDirs = @["apng", "suite", "tester"]
|
skipDirs = @["apng", "suite", "tester", "docs"]
|
||||||
|
|
||||||
# Deps
|
# Deps
|
||||||
requires "nim >= 0.19.0"
|
requires "nim >= 0.19.0"
|
||||||
|
|
||||||
task tests, "Run tests":
|
task tests, "Run tests":
|
||||||
withDir("tester"):
|
withDir("tester"):
|
||||||
exec "nim c -r test.nim"
|
exec "nim c -r test.nim"
|
||||||
exec "nim c -r testCodec.nim"
|
exec "nim c -r testCodec.nim"
|
||||||
exec "nim c -r testSuite.nim"
|
exec "nim c -r testSuite.nim"
|
||||||
|
@ -2,7 +2,10 @@
|
|||||||
Portable Network Graphics Encoder and Decoder written in Nim store lossless image with good compression.
|
Portable Network Graphics Encoder and Decoder written in Nim store lossless image with good compression.
|
||||||
Since version 0.2.0 also support Animated PNG!
|
Since version 0.2.0 also support Animated PNG!
|
||||||
|
|
||||||
[![Build Status][badge-nimpng-travisci]][nimpng-travisci]
|
[")](https://travis-ci.org/jangko/nimPNG)
|
||||||
|
[")](https://ci.appveyor.com/project/jangko/nimPNG)
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
all PNG standard color mode are supported:
|
all PNG standard color mode are supported:
|
||||||
|
|
||||||
@ -152,6 +155,3 @@ the default image will be part of the animation. If `ctl` is nil, default image
|
|||||||
|
|
||||||
You can read the details of frame control from [spec](https://wiki.mozilla.org/APNG_Specification).
|
You can read the details of frame control from [spec](https://wiki.mozilla.org/APNG_Specification).
|
||||||
You can also see an example in tester/test.nim -> generateAPNG
|
You can also see an example in tester/test.nim -> generateAPNG
|
||||||
|
|
||||||
[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