parent
27ef7d8b35
commit
822cb72138
@ -0,0 +1,26 @@
|
|||||||
|
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
|
||||||
|
|
Loading…
Reference in new issue