mirror of https://github.com/status-im/nimPNG.git
fixes #24
This commit is contained in:
parent
8f50614b0c
commit
b524eaf537
|
@ -26,10 +26,10 @@
|
||||||
#-------------------------------------
|
#-------------------------------------
|
||||||
|
|
||||||
import streams, endians, tables, hashes, math
|
import streams, endians, tables, hashes, math
|
||||||
import private/buffer, private/nimz
|
import nimPNG/[buffer, nimz]
|
||||||
|
|
||||||
const
|
const
|
||||||
NIM_PNG_VERSION = "0.2.1"
|
NIM_PNG_VERSION = "0.2.4"
|
||||||
|
|
||||||
type
|
type
|
||||||
PNGChunkType = distinct int32
|
PNGChunkType = distinct int32
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
# Package
|
# Package
|
||||||
version = "0.2.3"
|
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"]
|
||||||
|
|
||||||
# Deps
|
# Deps
|
||||||
requires "nim >= 0.11.2"
|
requires "nim >= 0.19.0"
|
||||||
|
|
||||||
task tests, "Run tests":
|
task tests, "Run tests":
|
||||||
withDir("tester"):
|
withDir("tester"):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import nimPNG, streams, math, strutils, tables, base64, os
|
import nimPNG, streams, math, strutils, tables, base64, os
|
||||||
import private.buffer
|
import nimPNG/buffer
|
||||||
|
|
||||||
type
|
type
|
||||||
Image = ref object
|
Image = ref object
|
||||||
|
|
Loading…
Reference in New Issue