Knowledge (XXG)

User:Ronhjones/SVGreduce

Source 📝

53:
There is no "viewBox" in the SVG, just height="Value1" width="Value2" in the orginal SVG - then add viewBox="0 0 Value1 Value2", and edit the height="hhh" width="www"
38: 31:
mw.loader.load('//commons.wikimedia.org/search/?title=User:Rillke/SVGedit.js&action=raw&ctype=text/javascript');
68: 111: 75: 124: 17: 50:
There is a "viewBox" in the SVG - then add (or edit existing) height="hhh" width="www"
26:
Idiot's guide to reducing the default size of an image for non free SVG files.
44:
Download the svg file (or select editsvg if option in use)
104:
How to reduce the preview-size of SVGs in Knowledge (XXG)
102: 41:
to work out the new size - height is hhh, width is www
47:Open with a text editor, and there is a decision 61:if not using option, then upload as new version 96: 94: 8: 90: 120: 109: 7: 24: 1: 101:Kalliauer, Johannes (2018), 145: 37:Use the guideline at 39:WP:Image resolution 121:|author-link= 33:to your common.js 136: 129: 128: 122: 117: 115: 107: 98: 74:to {{ 73: 67: 64:Edit and change 32: 144: 143: 139: 138: 137: 135: 134: 133: 132: 118: 108: 100: 99: 92: 88: 71: 69:non-free reduce 65: 30: 22: 21: 20: 12: 11: 5: 142: 140: 131: 130: 89: 87: 84: 80: 79: 76:subst:orfurrev 62: 59: 56: 55: 54: 51: 45: 42: 23: 18:User:Ronhjones 15: 14: 13: 10: 9: 6: 4: 3: 2: 141: 126: 113: 106: 105: 97: 95: 91: 85: 83: 77: 70: 63: 60: 57: 52: 49: 48: 46: 43: 40: 36: 35: 34: 29:option - add 27: 19: 103: 81: 78:}} 72:}} 66:{{ 28: 25: 86:references 82:Finished. 112:citation 123:value ( 119:Check 16:< 125:help 58:Save 116:: 114:}} 110:{{ 93:^ 127:)

Index

User:Ronhjones
WP:Image resolution
non-free reduce
subst:orfurrev


How to reduce the preview-size of SVGs in Knowledge (XXG)
citation
help

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.