ImageMagick 6 and 7 give different SVG size
Posted: 2019-04-21T01:50:27-07:00
Hi,
I'm trying to understand why, for the same SVG file, I find two different sizes depending on the operating system/imagemagick version I use.
File: https://github.com/rails/rails/blob/mas ... s/icon.svg
With Debian 9.8/ImageMagick 6:
With Ubuntu/ImageMagick 7:
How come I find two different sizes? Is it related to ImageMagick or to something else?
I'm trying to understand why, for the same SVG file, I find two different sizes depending on the operating system/imagemagick version I use.
File: https://github.com/rails/rails/blob/mas ... s/icon.svg
With Debian 9.8/ImageMagick 6:
Code: Select all
Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff wmf x xml zlib
Code: Select all
./test/fixtures/files/icon.svg SVG 743x548 743x548+0+0 8-bit sRGB 9.44KB 0.000u 0:00.000
Code: Select all
Version: ImageMagick 7.0.8-14 Q16 x86_64 2018-10-25 https://imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules
Delegates (built-in): bzlib freetype jng jp2 jpeg lcms ltdl lzma png tiff webp xml zlib
Code: Select all
./test/fixtures/files/icon.svg SVG 792x584 792x584+0+0 16-bit sRGB 1573B 0.000u 0:00.009