/Sublime-create-webp-image

A plugin for Sublime Text providing an interface to CWebP

Primary LanguagePythonMIT LicenseMIT

CreateWebpImage

A plugin for Sublime Text providing an interface to CWebP.

Install

You can install via with Package Control and restart Sublime.

  • Install Package: Search with CreateWebpImage.
  • Add Repository: Put URL https://github.com/TomasBarry/Sublime-create-webp-image.

Prerequisites

CWebP

This can be downloaded and installed by downloading a precompiled version of libwebp from the downloads repository.

Details on which version to pick (and the macOS packages) can be found in the official documentation.

By following the instructions in the documentation above you will have cwebp available to use and you will be able to use it with this Sublime Text package. You can test that you have cwebp available by testing some of the Getting Started instructions from the official documentation.

Usage

In a PNG, JPG, BMP, or GIF file, open the Command Palette (Cmd Shift P) and choose Convert to WebP.

Config

You can configure following options from Preferences → Package Settings → CreateWebpImage → Settings - User.