Page 1 of 1

possible bug strokewidth IM 6.9.0.5 Q16 Mac OSX

Posted: 2015-01-24T13:43:08-07:00
by fmw42
I think that -strokewidth is not working properly. The lines seem too thin in IM 6 compared to IM 7 when viewed directly. But when overlaid in the browser window below, It may be an anti-aliasing issue instead?

Compare these two results between IM 6 and IM 7 for a strokewidth of 2.[/u]

Version: ImageMagick 6.9.0-5 Q16 x86_64 2015-01-20 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
Features: DPC Modules
Delegates (built-in): bzlib cairo fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp x xml zlib

Code: Select all

convert -size 276x276 xc:none -stroke white -strokewidth 2 \
-draw "line 0,86.6026 275,245.374 line 0,28.8675 275,187.639 line 0,273.999 158.194,0 line 273.664,0 114.893,275" \
lines_6.png
Image


Version: ImageMagick 7.0.0-0 Q16 x86_64 2015-01-22 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
Features: DPC Modules HDRI
Delegates (built-in): bzlib cairo fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms lqr ltdl lzma openexr png ps rsvg tiff webp x xml zlib

Code: Select all

im7 convert -size 276x276 xc:none -stroke white -strokewidth 2 \
-draw "line 0,86.6026 275,245.374 line 0,28.8675 275,187.639 line 0,273.999 158.194,0 line 273.664,0 114.893,275" \
lines_7.png
Image

Re: possible bug strokewidth IM 6.9.0.5 Q16 Mac OSX

Posted: 2015-01-27T16:05:31-07:00
by fmw42
For some reason, I downloaded IM 6.9.0.5, thinking it was released. Was it pulled back or did I make a mistake and it was always a beta? The bug appears only in the 6905 version I downloaded. It does not happen in 6.9.0.4. So I hope it was a temporary bug in the beta of 6.9.0.5 and has or will be corrected before it is released.

Re: possible bug strokewidth IM 6.9.0.5 Q16 Mac OSX

Posted: 2015-02-16T08:27:06-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.9.0-7 Beta, available by sometime tomorrow. Thanks.