File talk:Ambox scales.svg
Jump to navigation
Jump to search
File:Ambox scales.svg has been protected indefinitely because it is a highly-used or visible template. Use {{Edit request}} on this page to request an edit. |
{{Edit request}} Please standardize the date. --ArndBot (talk) 14:00, 26 February 2018 (UTC)
Clean up SVG code
[edit]There is currently a semitransparent oval that appears in the SVG and rendered PNG thumbnails. I've run the code through a compressor which seems to fix the issue, and as an added bonus gets rid of all the extra Inkscape metadata, taking the filesize from 14.4kb to 2.4kb. Here is the code:
<?xml version="1.0" encoding="UTF-8"?>
<svg height="620" viewBox="0 0 62 62" width="620" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<linearGradient id="a" gradientUnits="userSpaceOnUse" spreadMethod="pad" x1="41.868206" x2="22.0144" y1="10.468635" y2="51.987099"><stop offset="0" stop-color="#ffc9a1"/><stop offset=".5" stop-color="#fda557"/><stop offset="1" stop-color="#f88c2c"/></linearGradient>
<radialGradient id="b" cx="32.5" cy="29.5" gradientUnits="userSpaceOnUse" r="26.5"><stop offset="0" stop-color="#c0c0c0"/><stop offset=".88" stop-color="#c0c0c0"/><stop offset="1" stop-color="#c0c0c0" stop-opacity="0"/></radialGradient>
<linearGradient id="c" gradientUnits="userSpaceOnUse" x1="54.509937" x2="9.5471" y1="41.179295" y2="16.248501"><stop offset="0" stop-color="#f98433"/><stop offset="1" stop-color="#e37b00"/></linearGradient>
<circle cx="32.5" cy="29.5" fill="url(#b)" r="26.5" transform="matrix(1.071274 0 0 1.071296 -2.732985 .21567)"/>
<circle cx="31" cy="31" fill="url(#a)" r="25.799999" stroke="url(#c)" stroke-width="1.34303" transform="matrix(1.0060799 0 0 1.0060799 -.620211 -.877336)"/>
<path d="m52.153078 48.374531c0 4.020608-9.269699 7.279954-20.704455 7.279954s-20.704455-3.259346-20.704455-7.279954c0-4.020607 9.269699-7.279954 20.704455-7.279954s20.704455 3.259347 20.704455 7.279954z" fill="none" opacity=".409091"/>
<g transform="matrix(.10969089726 0 0 .12125505599 8.36899265659 11.31922514384)">
<g fill="none" stroke="#fff">
<path d="m-51.25 46h120.25m-275 0h121.5m16-48v30.5" stroke-width="16.482805" transform="matrix(.965926 -.258819 .258819 .965926 253.9719 6.708644)"/>
<path d="m200 84.105706v196.614414" stroke-width="15.873433"/>
<path d="m213 59a16 16 0 1 1 -32 0 16 16 0 1 1 32 0z" stroke-linejoin="round" stroke-width="14.524457" transform="matrix(1.134831 0 0 1.134831 -23.56171 -.016942)"/>
<path d="m31.828426 199.85969 39.5-100.000004 39.500004 100.000004" stroke-linejoin="bevel" stroke-width="11.59901"/>
</g>
<path d="m122 188a57 57 0 1 1 -114 0" fill="#fff" transform="translate(6.328426 6.859686)"/>
<path d="m287 135.68811 39.5-100.000002 39.5 100.000002" fill="none" stroke="#fff" stroke-linejoin="bevel" stroke-width="11.59901"/>
<path d="m122 188a57 57 0 1 1 -114 0" fill="#fff" transform="translate(261.5 -57.311892)"/>
<path d="m279.63444 283.24417h-159.26888" fill="none" stroke="#fff" stroke-width="15.181619"/>
</g>
</svg>
--Iiii I I I (talk) 22:08, 24 March 2019 (UTC)
- There is another version without the oval: File:Emblem-scales.svg. 4nn1l2 (talk) 15:01, 9 May 2019 (UTC)
- This is a fairly new issue then, because I'm sure someone else would've noticed if it was like this for eleven years. Archive.org shows that it wasn't in 2017. There must have been some sort of change somewhere that messed with how it's rendered. Ambox scales.svg and Emblem-scales.svg are two different images - it's hard to tell unless you look at them side-by-side - Emblem-scales.svg vs. Ambox_scales.svg. I think this is an appropriate change to make. Frood (talk) 03:05, 30 May 2019 (UTC)
- Done New version updated. After looking at the archive it is pretty clear that there was something that changed in the past 11 years that caused the dark oval. It was not part of the original image. --Majora (talk) 02:19, 6 July 2019 (UTC)