]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 5 Oct 2010 01:13:28 +0000 (01:13 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 5 Oct 2010 01:13:28 +0000 (01:13 +0000)
ChangeLog
coders/pattern.c

index 8abbc3e03d9788b282a82abe8e6c9926f8fb3f3d..915e7dd4f792d69e4a8355fbe621c58943d3921a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
     http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=17201).
   * Don't permit access to pixels when pinging an image (reference
     http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=17194).
+  * Add support for pattern:vertical2 and pattern:horizontal2.
 
 2010-10-02  6.6.4-9 Anthony Thyssen <A.Thyssen@griffith...>
   * Added sqrt(2) bluring default for Gaussian Filter if used as a
index 6ad904cc1697056fca0b7f6c1619b9a22a50adf7..a68aa78bd684ef7084a00048584e2da5f2674b44 100644 (file)
@@ -577,6 +577,16 @@ static const unsigned char
     0x50, 0x34, 0x0A, 0x38, 0x20, 0x34, 0x0A, 0xFF, 0x00, 0x00, 0x00
   };
 
+/*
+  Horizontal-2 pattern.
+*/
+static const unsigned char
+  Horizontal2Image[] =
+  {
+    0x50, 0x34, 0x0A, 0x38, 0x20, 0x38, 0x0A, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 
+    0x00, 0xFF, 0x00
+  };
+
 /*
   HorizontalSaw pattern.
 */
@@ -747,6 +757,16 @@ static const unsigned char
     0x11, 0x11, 0x11
   };
 
+/*
+  Vertical-2 pattern.
+*/
+static const unsigned char
+  Vertical2Image[] =
+  {
+    0x50, 0x34, 0x0A, 0x38, 0x20, 0x38, 0x0A, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 
+    0xAA, 0xAA, 0xAA
+  };
+
 /*
   VerticalBricks pattern.
 */
@@ -845,6 +865,7 @@ static const PatternInfo
     { "GRAY100", "PBM", Gray100Image, sizeof(Gray100Image) },
     { "HEXAGONS", "PBM", HexagonsImage, sizeof(HexagonsImage) },
     { "HORIZONTAL", "PBM", HorizontalImage, sizeof(HorizontalImage) },
+    { "HORIZONTAL2", "PBM", Horizontal2Image, sizeof(Horizontal2Image) },
     { "HORIZONTALSAW", "PBM", HorizontalSawImage, sizeof(HorizontalSawImage) },
     { "HS_BDIAGONAL", "PBM", HS_BDIAGONALImage, sizeof(HS_BDIAGONALImage) },
     { "HS_CROSS", "PBM", HS_CROSSImage, sizeof(HS_CROSSImage) },
@@ -862,6 +883,7 @@ static const PatternInfo
     { "SMALLFISHSCALES", "PBM", SmallFishScalesImage,
       sizeof(SmallFishScalesImage) },
     { "VERTICAL", "PBM", VerticalImage, sizeof(VerticalImage) },
+    { "VERTICAL2", "PBM", Vertical2Image, sizeof(Vertical2Image) },
     { "VERTICALBRICKS", "PBM", VerticalBricksImage,
       sizeof(VerticalBricksImage) },
     { "VERTICALLEFTSHINGLE", "PBM", VerticalLeftShingleImage,