png: Add sane compile-time maximums for dimensions + chunk sizes.
This commit is contained in:
1 parent
9b5ae95677
commit
8fcd1794a6
6 files changed
+64
-19
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user