Merge pull request #25 from jangko/fix24

fixes #24
This commit is contained in:
andri lim 2018-10-02 10:10:48 +07:00 committed by GitHub
commit 5d684ce561
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 5 deletions

View File

@ -26,10 +26,10 @@
#-------------------------------------
import streams, endians, tables, hashes, math
import private/buffer, private/nimz
import nimPNG/[buffer, nimz]
const
NIM_PNG_VERSION = "0.2.1"
NIM_PNG_VERSION = "0.2.4"
type
PNGChunkType = distinct int32

View File

@ -1,11 +1,12 @@
# Package
version = "0.2.3"
version = "0.2.4"
author = "Andri Lim"
description = "PNG encoder and decoder"
license = "MIT"
skipDirs = @["apng", "suite", "tester"]
# Deps
requires "nim >= 0.11.2"
requires "nim >= 0.19.0"
task tests, "Run tests":
withDir("tester"):

View File

@ -1,5 +1,5 @@
import nimPNG, streams, math, strutils, tables, base64, os
import private.buffer
import nimPNG/buffer
type
Image = ref object