Skip to content

axelrindle/vscode-webp

Repository files navigation

logo

webp-converter

CI Visual Studio Marketplace Version

VSCode Extension for converting images into the WebP format.

Easily convert PNG, JPG and TIFF files into a WebP file.

Usage

Right-click a PNG, JPG/JPEG or TIFF file and click on Convert to WebP.

In it's current state the extension will run the following command:

cwebp -preset photo <input> -o <output>.webp

Commands

webp-converter.execute

Does the file conversion. Access via file explorer.

webp-converter.binary-version

Shows information about the installed binary.

webp-converter.download-binary

Will download the chosen version of libwebp if no installation is present.

webp-converter.delete-binary

Deletes the installed binary.

Use this if you want to install another version.

Settings

webp-converter.preferSystemBinary

Will use a globally available binary of cwebp if available.

TODO

  • Use a custom view instead of many Quick Picks
  • Allow to create profiles which provide customized defaults

License

MIT

Acknowledgements