/WebP-Generator-Figma

Export WebP files from Figma for Web or Android

Primary LanguageTypeScriptApache License 2.0Apache-2.0

WebP Generator Plugin for Figma

Buy Me a Coffee at ko-fi.com

Cover

Export WebP files from Figma for Web or Android

Features

  • Export any image as WebP
  • Supported resolutions are xxxhdpi, xxhdpi, xhdpi, hdpi, mdpi
  • Convenient folder structure to match your Android project
  • The uplifting feeling of having made the project a little better

Exports the selected figma node to the hierarchical matching android ressource folders:

drawable-mdpi \    1x
    image.webp
drawable-hdpi \    1.5x
    image.webp
drawable-xhdpi \   2x
    image.webp
drawable-xxhdpi \  3x
    image.webp
drawable-xxxhdpi \ 4x

or for web:

image \
    image_1x.webp
    image_1_5x.webp
    image_2x.webp
    image_3x.webp
    image_4x.webp

Check out the plugin at Figma.