We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ad8e58 commit 62183bdCopy full SHA for 62183bd
library.properties
@@ -1,5 +1,5 @@
1
name=PNGdec
2
-version=1.1.4
+version=1.1.5
3
author=Larry Bank
4
maintainer=Larry Bank
5
sentence=Universal PNG decoder for MCUs with at least 48K of RAM.
src/PNGdec.h
@@ -49,8 +49,11 @@
49
/* Defines and variables */
50
#define PNG_FILE_BUF_SIZE 2048
51
// Number of bytes to reserve for current and previous lines
52
-// Defaults to 480 32-bit pixels max width
53
-#define PNG_MAX_BUFFERED_PIXELS ((480*4 + 1)*2)
+// Defaults to 320 32-bit pixels max width
+// but can be overidden with a macro defined at compile time
54
+#ifndef PNG_MAX_BUFFERED_PIXELS
55
+#define PNG_MAX_BUFFERED_PIXELS ((320*4 + 1)*2)
56
+#endif
57
// PNG filter type
58
enum {
59
PNG_FILTER_NONE=0,
0 commit comments