png: Add sane compile-time maximums for dimensions + chunk sizes.

This commit is contained in:
Jeroen van Rijn committed 2021-10-06 21:48:22 +02:00
1 parent 9b5ae95677
commit 8fcd1794a6
6 files changed
+64 -19

No files matched your search

+1 -2
View File
@@ -1,5 +1,3 @@
package png
/*
Copyright 2021 Jeroen van Rijn <nom@duclavier.com>.
Made available under Odin's BSD-2 license.
@@ -10,6 +8,7 @@ package png
These are a few useful utility functions to work with PNG images.
*/
package png
import "core:image"
import "core:compress/zlib"