You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.0 KiB
27 lines
1.0 KiB
5 years ago
|
From 4c93a9feb75cd18ff11ae96907c2b5663eb58200 Mon Sep 17 00:00:00 2001
|
||
|
From: Cristy <mikayla-grace@urban-warrior.org>
|
||
|
Date: Tue, 30 Jun 2020 21:38:22 -0400
|
||
|
Subject: [PATCH 1/3] permit reading of MPRI images
|
||
|
|
||
|
---
|
||
|
magick/draw.c | 3 ++-
|
||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/magick/draw.c b/magick/draw.c
|
||
|
index eb2323a3d..401f6c15d 100644
|
||
|
--- a/magick/draw.c
|
||
|
+++ b/magick/draw.c
|
||
|
@@ -5391,7 +5391,8 @@ MagickExport MagickBooleanType DrawPrimitive(Image *image,
|
||
|
(void) CopyMagickString(clone_info->filename,primitive_info->text,
|
||
|
MagickPathExtent);
|
||
|
status&=SetImageInfo(clone_info,0,exception);
|
||
|
- if (LocaleNCompare(clone_info->magick,"http",4) == 0)
|
||
|
+ if ((LocaleNCompare(clone_info->magick,"http",4) == 0) ||
|
||
|
+ (LocaleCompare(clone_info->magick,"mpri") == 0))
|
||
|
(void) CopyMagickString(clone_info->filename,primitive_info->text,
|
||
|
MagickPathExtent);
|
||
|
composite_images=ReadImage(clone_info,exception);
|
||
|
--
|
||
|
2.26.2
|
||
|
|