projects
/
imagemagick
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
105f874
)
...
author
Cristy
<urban-warrior@imagemagick.org>
Tue, 13 Mar 2018 01:15:59 +0000
(21:15 -0400)
committer
Cristy
<urban-warrior@imagemagick.org>
Tue, 13 Mar 2018 01:15:59 +0000
(21:15 -0400)
MagickCore/property.c
patch
|
blob
|
history
diff --git
a/MagickCore/property.c
b/MagickCore/property.c
index 0ad839933dc0df26a9500803804d9eb609af930b..34e37e050cc17de63e04d8370a3b12ab94fe0c6e 100644
(file)
--- a/
MagickCore/property.c
+++ b/
MagickCore/property.c
@@
-3667,9
+3667,10
@@
RestoreMSCWarning
OptionWarning,"NoImageForProperty","\"%%[%s]\"",pattern);
continue; /* else no image to retrieve artifact */
}
+ if ((image->columns == 0) || (image->rows == 0))
+ break;
GetPixelInfo(image,&pixel);
fx_info=AcquireFxInfo(image,pattern+4,exception);
- value=0.0;
status=FxEvaluateChannelExpression(fx_info,RedPixelChannel,0,0,
&value,exception);
pixel.red=(double) QuantumRange*value;