Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick6/issues/129
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Jan 5, 2021
1 parent 98c9630 commit 33952f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2021-01-05 6.9.11-56 <quetzlzacatenango@image...>
* Release ImageMagick version 6.9.11-56 GIT revision 16266:c3350670f:20210103

2021-01-05 6.9.11-56 <quetzlzacatenango@image...>
* Fix rounding error for CSS colors (reference
https://github.com/ImageMagick/ImageMagick6/issues/129).

2021-01-03 6.9.11-55 <quetzlzacatenango@image...>
* Release ImageMagick version 6.9.11-55 GIT revision 16266:c3350670f:20210103

Expand Down
2 changes: 1 addition & 1 deletion magick/color.c
Original file line number Diff line number Diff line change
Expand Up @@ -2593,7 +2593,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)
Expand Down

0 comments on commit 33952f6

Please sign in to comment.