possible bug strokewidth IM 6.9.0.5 Q16 Mac OSX
Posted: 2015-01-24T13:43:08-07:00
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
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
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
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