update readme.md

This commit is contained in:
andri lim 2018-10-05 11:50:25 +07:00
parent b0839cf7a0
commit 6623f84bec
4 changed files with 9 additions and 9 deletions

View File

@ -3,13 +3,13 @@ version = "0.2.4"
author = "Andri Lim"
description = "PNG encoder and decoder"
license = "MIT"
skipDirs = @["apng", "suite", "tester"]
skipDirs = @["apng", "suite", "tester", "docs"]
# Deps
requires "nim >= 0.19.0"
task tests, "Run tests":
withDir("tester"):
exec "nim c -r test.nim"
exec "nim c -r testCodec.nim"
exec "nim c -r testSuite.nim"
withDir("tester"):
exec "nim c -r test.nim"
exec "nim c -r testCodec.nim"
exec "nim c -r testSuite.nim"

View File

@ -2,7 +2,10 @@
Portable Network Graphics Encoder and Decoder written in Nim store lossless image with good compression.
Since version 0.2.0 also support Animated PNG!
[![Build Status][badge-nimpng-travisci]][nimpng-travisci]
[![Build Status (Travis)](https://img.shields.io/travis/jangko/nimPNG/master.svg?label=Linux%20/%20macOS "Linux/macOS build status (Travis)")](https://travis-ci.org/jangko/nimPNG)
[![Windows build status (Appveyor)](https://img.shields.io/appveyor/ci/jangko/nimPNG/master.svg?label=Windows "Windows build status (Appveyor)")](https://ci.appveyor.com/project/jangko/nimPNG)
![nimble](https://img.shields.io/badge/available%20on-nimble-yellow.svg?style=flat-square)
![license](https://img.shields.io/github/license/citycide/cascade.svg?style=flat-square)
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 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