我有一个关于 IM 阅读 SVG 图像的问题,这真的让我很困扰。对于下面的 SVG 图像,
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100%" viewBox="0 0 100 100">
<defs>
<linearGradient id="grad1">
<stop offset="0%" stop-color="white"/>
<stop offset="100%" stop-color="black"/>
</linearGradient>
</defs>
<rect x="10" y="10" width="80" height="80" fill="url(#grad1)" stroke="blue"/>
</svg>
当我使用identify -verbose sample.svg时,我得到了“几何:1x1+0+0”的结果。但其他人得到“几何:100x100+0+0”。似乎 100x100 是正确的。为什么会发生这种情况?