mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-06-12 15:37:14 +02:00
Return correct offset for negative index for -fx option
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31006).
|
||||
* Enable alpha channel if background color is non-opaque (reference
|
||||
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31016).
|
||||
* Return correct offset for negative index for -fx option (reference
|
||||
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31019).
|
||||
|
||||
2016-12-05 7.0.3-9 Cristy <quetzlzacatenango@image...>
|
||||
* Release ImageMagick version 7.0.3-9, GIT revision 19139:6fed3f1:20161205.
|
||||
|
||||
+1
-1
@@ -1337,7 +1337,7 @@ static double FxGetSymbol(FxInfo *fx_info,const PixelChannel channel,
|
||||
*q='\0';
|
||||
alpha=FxEvaluateSubexpression(fx_info,channel,x,y,subexpression,
|
||||
&depth,&beta,exception);
|
||||
i=(ssize_t) (alpha+0.5);
|
||||
i=(ssize_t) alpha;
|
||||
p++;
|
||||
}
|
||||
if (*p == '.')
|
||||
|
||||
Reference in New Issue
Block a user