Skip to content

Transforms a Vector Drawable or a SVG path to a Compose ImageVector.

License

Notifications You must be signed in to change notification settings

DenisMondon/Svg2Compose

Repository files navigation

Svg2Compose

Transforms a Vector Drawable or a SVG path to a Compose ImageVector.

Download

Download the latest version (Windows) here: Releases.

How to transform a Vector Drawable

  • Select the Vector Drawable file tab
  • Enter the content of your Vector Drawable alt text
  • Click CONVERT
  • If some colors are not known by the software, you will have to map those colors into an hexa value (ex: #FFFFFF)
  • Here you go! You can see 3 columns:
    • left=All paths
    • middle=The ImageVector
    • right=The Image alt text
  • You can now copy the ImageVector code!
  • And paste it in your project.

How to transform a SVG Path

  • Select the SVG path tab
  • Enter your SVG path alt text
  • Click CONVERT
  • Here you go! You can see 3 columns:
    • left=All paths
    • middle=The ImageVector
    • right=The Image alt text
  • You can now copy the ImageVector code!
  • And paste it in your project.

Transform a SVG

Coming soon

About

Transforms a Vector Drawable or a SVG path to a Compose ImageVector.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages