diff options
author | Cristy <mikayla-grace@urban-warrior.org> | 2021-01-05 09:10:24 -0500 |
---|---|---|
committer | Cristy <mikayla-grace@urban-warrior.org> | 2021-01-05 09:11:05 -0500 |
commit | 335cf5b87702fcb16a47a243f1f88740427e2078 (patch) | |
tree | 9e4ee04fb58a9093e188424afa98ca5c05cfc55d | |
parent | 8d8a01057663b11c872589ebc3038f93236fe44a (diff) | |
download | ImageMagick-335cf5b87702fcb16a47a243f1f88740427e2078.tar.gz |
https://github.com/ImageMagick/ImageMagick6/issues/129
-rw-r--r-- | MagickCore/color.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MagickCore/color.c b/MagickCore/color.c index 532fde0f7..3c6974fd1 100644 --- a/MagickCore/color.c +++ b/MagickCore/color.c @@ -2211,7 +2211,7 @@ static MagickStatusType ParseCSSColor(const char *magick_restrict color, break; if (*q == '%') { - intensity*=255.0/100.0; + intensity*=0.01*255.0; q++; } switch (i) |