From: cristy Date: Tue, 5 Oct 2010 11:29:37 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~8750 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=99123913c230d01a30ab4b8fbe00045b8f5261cd;p=imagemagick --- diff --git a/ChangeLog b/ChangeLog index 82c5d5345..4f0e885e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ 2010-10-05 6.6.4-10 Cristy * Add support for "pattern:vertical2" and "pattern:horizontal2". + * Add support for "pattern:vertical3" and "pattern:horizontal3". 2010-10-03 6.6.4-9 Cristy * Fix memory assertion with --enable-embeddable (reference diff --git a/coders/pattern.c b/coders/pattern.c index a68aa78bd..6fa1f8d24 100644 --- a/coders/pattern.c +++ b/coders/pattern.c @@ -587,6 +587,17 @@ static const unsigned char 0x00, 0xFF, 0x00 }; +/* + Horizontal-3 pattern. +*/ +static const unsigned char + Horizontal3Image[] = + { + 0x50, 0x34, 0x0A, 0x39, 0x20, 0x39, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00 + }; + /* HorizontalSaw pattern. */ @@ -767,6 +778,17 @@ static const unsigned char 0xAA, 0xAA, 0xAA }; +/* + Vertical-2 pattern. +*/ +static const unsigned char + Vertical3Image[] = + { + 0x50, 0x34, 0x0A, 0x39, 0x20, 0x39, 0x0A, 0x24, 0x80, 0x24, 0x80, 0x24, + 0x80, 0x24, 0x80, 0x24, 0x80, 0x24, 0x80, 0x24, 0x80, 0x24, 0x80, 0x24, + 0x80 + }; + /* VerticalBricks pattern. */ @@ -866,6 +888,7 @@ static const PatternInfo { "HEXAGONS", "PBM", HexagonsImage, sizeof(HexagonsImage) }, { "HORIZONTAL", "PBM", HorizontalImage, sizeof(HorizontalImage) }, { "HORIZONTAL2", "PBM", Horizontal2Image, sizeof(Horizontal2Image) }, + { "HORIZONTAL3", "PBM", Horizontal3Image, sizeof(Horizontal3Image) }, { "HORIZONTALSAW", "PBM", HorizontalSawImage, sizeof(HorizontalSawImage) }, { "HS_BDIAGONAL", "PBM", HS_BDIAGONALImage, sizeof(HS_BDIAGONALImage) }, { "HS_CROSS", "PBM", HS_CROSSImage, sizeof(HS_CROSSImage) }, @@ -884,6 +907,7 @@ static const PatternInfo sizeof(SmallFishScalesImage) }, { "VERTICAL", "PBM", VerticalImage, sizeof(VerticalImage) }, { "VERTICAL2", "PBM", Vertical2Image, sizeof(Vertical2Image) }, + { "VERTICAL3", "PBM", Vertical3Image, sizeof(Vertical3Image) }, { "VERTICALBRICKS", "PBM", VerticalBricksImage, sizeof(VerticalBricksImage) }, { "VERTICALLEFTSHINGLE", "PBM", VerticalLeftShingleImage,