summaryrefslogtreecommitdiffstats
path: root/gmagick-const.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-26 07:24:44 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-26 07:24:44 +0200
commit20bc3e3ab7a2ef03b9c142a5dbd4d3feb723f4fb (patch)
treecd05b4caf73d911b5de18cd25edd75649bc41307 /gmagick-const.patch
parent177a2ecea222328899e0d5446792387ce47b8cc6 (diff)
php-pecl-gmagick: 2.0.3RC1
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...)