mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
This commit is contained in:
@@ -226,7 +226,8 @@ extern MagickPrivate const void
|
||||
|
||||
extern MagickPrivate MagickBooleanType
|
||||
CacheComponentGenesis(void),
|
||||
SyncAuthenticPixelCacheNexus(Image *,NexusInfo *,ExceptionInfo *) magick_hot_spot,
|
||||
SyncAuthenticPixelCacheNexus(Image *,NexusInfo *,ExceptionInfo *)
|
||||
magick_hot_spot,
|
||||
SyncImagePixelCache(Image *,ExceptionInfo *);
|
||||
|
||||
extern MagickPrivate MagickSizeType
|
||||
|
||||
+14
-10
@@ -583,7 +583,7 @@ static const unsigned char
|
||||
static const unsigned char
|
||||
Horizontal2Image[] =
|
||||
{
|
||||
0x50, 0x34, 0x0A, 0x38, 0x20, 0x38, 0x0A, 0xFF, 0x00, 0xFF, 0x00, 0xFF,
|
||||
0x50, 0x34, 0x0A, 0x38, 0x20, 0x38, 0x0A, 0xFF, 0x00, 0xFF, 0x00, 0xFF,
|
||||
0x00, 0xFF, 0x00
|
||||
};
|
||||
|
||||
@@ -593,9 +593,9 @@ static const unsigned char
|
||||
static const unsigned char
|
||||
Horizontal3Image[] =
|
||||
{
|
||||
0x50, 0x34, 0x0A, 0x39, 0x20, 0x39, 0x0A, 0x00, 0x00, 0x00, 0x00, 0xFF,
|
||||
0x80, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x80, 0x00, 0x00, 0x00, 0x00, 0xFF,
|
||||
0x80,
|
||||
0x50, 0x34, 0x0A, 0x39, 0x20, 0x39, 0x0A, 0x00, 0x00, 0x00, 0x00, 0xFF,
|
||||
0x80, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x80, 0x00, 0x00, 0x00, 0x00, 0xFF,
|
||||
0x80,
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -774,7 +774,7 @@ static const unsigned char
|
||||
static const unsigned char
|
||||
Vertical2Image[] =
|
||||
{
|
||||
0x50, 0x34, 0x0A, 0x38, 0x20, 0x38, 0x0A, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA,
|
||||
0x50, 0x34, 0x0A, 0x38, 0x20, 0x38, 0x0A, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA,
|
||||
0xAA, 0xAA, 0xAA
|
||||
};
|
||||
|
||||
@@ -784,8 +784,8 @@ static const unsigned char
|
||||
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,
|
||||
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
|
||||
};
|
||||
|
||||
@@ -988,9 +988,13 @@ static Image *ReadPATTERNImage(const ImageInfo *image_info,
|
||||
Tile pattern across image canvas.
|
||||
*/
|
||||
pattern_image=image;
|
||||
image=AcquireImage(blob_info,exception);
|
||||
image->background_color=pattern_image->background_color;
|
||||
(void) SetImageBackgroundColor(image,exception);
|
||||
image=CloneImage(pattern_image,0,0,MagickTrue,exception);
|
||||
(void) ParseAbsoluteGeometry(image_info->size,&image->extract_info);
|
||||
image->columns=image->extract_info.width;
|
||||
image->rows=image->extract_info.height;
|
||||
image->offset=image->extract_info.x;
|
||||
image->extract_info.x=0;
|
||||
image->extract_info.y=0;
|
||||
(void) TextureImage(image,pattern_image,exception);
|
||||
pattern_image=DestroyImage(pattern_image);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user