Convert SVG files into GIF preserving the transparency, in bulk
' Used to convert Font-Awesome SVGs into GIFs, like FA5 Pro
' Use ImageMagick
' https://imagemagick.org/script/download.php
' Two steps
' Step 1: SVG to PNG
' 1> command line using ImageMagick to convert SVG images into PNGs preserving transparency
magick convert "D:\Docs\raw-svg\solid\*.svg" -transparent white "D:\Docs\PNGs\FA5Pro-512Black-Solid-%03d.png"
' Step 2: PNG to GIF
' 2> Command line to convert PNGs above into GIFs:
magick convert "D:\Docs\SVGs-2-GIFs\White32.PNGs.whhg\*.png" "D:\Docs\SVGs-2-GIFs\White32.GIFs.whhg\White32-%03d.gif"
Views 1171 Downloads 447
convert
| replace
| change
| substitute
| png
| gif
| animation
| transparent
| transparency
| background
| svg
| app
| apps
| 3rdparty
Articles
Multimedia
ANmarAmdeen
780

ANmarAmdeen
780
Revisions
v3.0
Tags
convert, replace, change, substitute, png, gif, animation, transparent, transparency, background, svg, app, apps, 3rdparty