possible bug strokewidth IM 6.9.0.5 Q16 Mac OSX

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

possible bug strokewidth IM 6.9.0.5 Q16 Mac OSX

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug strokewidth IM 6.9.0.5 Q16 Mac OSX

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug strokewidth IM 6.9.0.5 Q16 Mac OSX

Post 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.
Post Reply