{"repo":"sterlp/svg2png","free":true,"listed":false,"github":"https://github.com/sterlp/svg2png","clone":"git clone https://github.com/sterlp/svg2png.git","description":"SVG to PNG converter, optimized for Android and iOS Apps","language":"Java","stars":147,"topics":["svg-icons","android","png","png-converter","svg2png","icons","svg","svg-files","cli","flutter"],"license":null,"category":"mobile-apps","readme_excerpt":"Free SVG to PNG converter Goal Manage your Icons in SVG and generate the needed PNG into your projects as needed. No \"Web Service\" needed, just an executable JAR file. This library is based on batik Supported platforms Only platforms with a full Java JRE are supported like: - Windows - Linux - Mac OS Not supported platforms Android Batik SVG Toolkit isn't supported by android because of the missing Java2D API Tested Java distributions - zulu - graalvm temurin version 11 failed in the ci/cd build. - 1.2.x = JDK 8 - 1.3.x = JDK 11 Download & Requirements Download latest release version of svg2png Or from maven You have to have Java 8 installed on your PC Sidenote: Google Android Icons CLI Options file: Can be set for each file individually, see json config, or for all using a cli option. The name can be used in the files. CLI CLI long Name Level Description --- -------- --------- ---------- ---------------- w width width file Image width in pixel h height height file Image height in pixel n name name file Output name of the image o out-dir directory file Output directory for this image background-color backgroundColor file Provide a custom background color to use for opaque image formats e.g. 0077FF. CLI Usage CLI Samples use either java -jar svg2png or download the executable jar and use svg2png JSON Android Config Sample Links - https://developer.android.com/training/multiscreen/screendensities","default_branch":null,"files":null,"tree":[],"storefront":"/r/sterlp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sterlp/svg2png/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}