Shrinking Vector Graphics
summary
vgo is an open source tool that parses SVGs, Vector Drawables, and Jetpack Compose ImageVectors into a shared IR, runs format-agnostic optimizations (replace cubic Béziers with lines, convert curves to arcs, bake transforms into path points, trim precision, merge paths) and emits any target format. Typical wins range from tens to hundreds of bytes per icon, collectively saving megabytes; matrix math handles arcs correctly, the pipeline is linear time, and integration exists via a Gradle plugin and IDE/Homebrew tooling.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:47SVGO limitations
- 3:55Introducing VGO optimizer
- 5:41Vector graphics basics
- 9:17Path commands
- 12:29VGO pipeline optimizations
- 14:38Intermediate representation optimizations
- 16:26Relative coordinates
- 17:32Baking transformations
- 18:59Simplifying Bézier curves
- 21:26Merging overlapping paths
- 23:37Using VGO's command line interface
- 24:41VGO IR tools








