summaryrefslogtreecommitdiffstats
path: root/gmagick-const.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gmagick-const.patch')
-rw-r--r--gmagick-const.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/gmagick-const.patch b/gmagick-const.patch
new file mode 100644
index 0000000..792b15e
--- /dev/null
+++ b/gmagick-const.patch
@@ -0,0 +1,12 @@
+diff --git a/gmagick_helpers.c b/gmagick_helpers.c
+index 88aab56..5e9d578 100644
+--- a/gmagick_helpers.c
++++ b/gmagick_helpers.c
+@@ -185,6 +185,7 @@ void php_gmagick_initialize_constants()
+ GMAGICK_REGISTER_CONST_LONG("COMPRESSION_JBIG2", JBIG2Compression);
+ #endif
+
++ GMAGICK_REGISTER_CONST_LONG("INTERLACE_NO", NoInterlace); //Don't interlace image (RGBRGBRGBRGBRGBRGB...)
+ GMAGICK_REGISTER_CONST_LONG("INTERLACE_NONE", NoInterlace); //Don't interlace image (RGBRGBRGBRGBRGBRGB...)
+ GMAGICK_REGISTER_CONST_LONG("INTERLACE_LINE", LineInterlace); //Use scanline interlacing (RRR...GGG...BBB...RRR...GGG...BBB...)
+ GMAGICK_REGISTER_CONST_LONG("INTERLACE_PLANE", PlaneInterlace);//Use plane interlacing (RRRRRR...GGGGGG...BBBBBB...)