| 9 | | * ''Before'' you convert your image to the base64 code you should minimize it to make the base64 a lot shorter (without loosing quality): |
| 10 | | * for `.png` files: Use e.g. [http://compresspng.com/ compresspng.com]. |
| 11 | | * for `.svg` files: Use e.g. [https://github.com/RazrFalcon/svgcleaner-gui/releases svg cleaner]. When using this one you can use the "complete" preset to clean up the svg file. More information about possible problems with svg in JOSM see [wiki:DevelopersGuide/DefaultPresets#NewIcons]. |
| | 9 | * ''Before'' you convert your image to the base64 code you should minimize it to make the base64 a lot shorter (without losing quality): |
| | 10 | * for `.png` files: Use e.g. [https://compresspng.com/ compresspng.com], |
| | 11 | * for `.jpeg` files: Use e.g. [https://jpegcompress.com/ jpegcompress.com], |
| | 12 | * for `.svg` files: Use e.g. [https://github.com/RazrFalcon/svgcleaner-gui/releases svg cleaner]. When using this one you can use the "complete" preset to clean up the svg file. More information about possible problems with svg in JOSM see [wikitr:/DevelopersGuide/DefaultPresets#NewIcons]. |