https://github.com/tomasbarry/sublime-create-webp-image
A plugin for Sublime Text providing an interface to CWebP
https://github.com/tomasbarry/sublime-create-webp-image
cwebp sublime-text web webp
Last synced: over 1 year ago
JSON representation
A plugin for Sublime Text providing an interface to CWebP
- Host: GitHub
- URL: https://github.com/tomasbarry/sublime-create-webp-image
- Owner: TomasBarry
- License: mit
- Created: 2020-03-22T17:29:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-07T11:47:41.000Z (over 4 years ago)
- Last Synced: 2025-02-02T01:29:34.241Z (over 1 year ago)
- Topics: cwebp, sublime-text, web, webp
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# CreateWebpImage
A plugin for [Sublime Text](https://www.sublimetext.com/) providing an interface to [CWebP](https://developers.google.com/speed/webp/docs/using).
## Install
You can install via with [Package Control](https://packagecontrol.io/) and restart Sublime.
- **Install Package**: Search with `CreateWebpImage`.
- **Add Repository**: Put URL `https://github.com/TomasBarry/Sublime-create-webp-image`.
### Prerequisites
[CWebP](https://developers.google.com/speed/webp/download)
This can be downloaded and installed by downloading a precompiled version of `libwebp` from the [downloads repository](https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html).
Details on which version to pick (and the macOS packages) can be found [in the official documentation](https://developers.google.com/speed/webp/docs/precompiled).
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](https://developers.google.com/speed/webp/docs/using) 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.