Skip to content

😁 πŸ”€ Extract svg or png files for every font symbol

Notifications You must be signed in to change notification settings

TobseF/Emoji-Font-to-SVG-Extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

😁 πŸ”€ Font emoji to SVG / PNG Extractor

πŸ’‘ Extracts svg or png files for every font symbol. Simple letters will be skipped.

This Python script reads an installed system font and converts every symbol to an SVG file.
Optional, all SVG files can be converted to PNG. It uses the Inkscape CLI for conversion.
The selection of symbols can be configured with the symbol-table.csv. It's configured to only export colorful symbols.

⭐ Features

⭐ Batch Processing of all emoji
⭐ Convert to SVG or PNG
⭐ Grouping by category (Animals, Food, Objects)
⭐ Cuts of empty space
⭐ Tested on Windows

πŸ›  Setup

  • Install Inkscape version 1.0 or later.
  • Install Python version 3.6 or later.
  • Configure inkscape_path in the script.

πŸš€ Run

To export all emoji svg run:

python export-all-emoji.py

To convert all exported svg file to png run:

python convert-to-png.py

πŸ›  Config

  • inkscape_path: Path to your Inkscape installation.
  • font: Font to export. For example "Segoe UI Emoji".
  • dpi: Change the png resolution.
  • outDir: Output directory.
  • debug: Enable to also print all console commands.

About

😁 πŸ”€ Extract svg or png files for every font symbol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages