Git Product home page Git Product logo

axelrindle / vscode-webp Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 2.0 702 KB

VSCode Extension for converting images into the WebP format.

Home Page: https://marketplace.visualstudio.com/items?itemName=axelrindle.webp-converter

License: MIT License

TypeScript 99.26% Shell 0.41% JavaScript 0.33%
visual-studio-code visual-studio-code-extension vscode vscode-extension webp image-converter jpeg jpg png tiff

vscode-webp's Introduction

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

vscode-webp's People

Contributors

axelrindle avatar brupes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

brupes mowinski

vscode-webp's Issues

tiff support

can you add support to extension .tif ?
this is a variant of file type TIFF. it can end with .tiff or .tif

error converting image

if i try to convert an image that contains spaces in its name, vscode will throw an error

Error converting .jpg to .webp

Problem Description

Getting Error in VScode

Failed to convert filename.jpg into a WebP file!

Logs

Include any logs from the developer console here
Screenshot 2024-05-07 at 11 15 35 am

System Information

Operating System: OSX 13.2.1
CPU Type: x64/x86
Extension Version: v0.4.1
VSCode Version: 1.88.1

Scale feature

  • Add an option "Resize and convert to webp"
  • Allow to specify the size of the file.
  • The extension will then add the option -resize to the command line

By default, we can preview image files in vscode. Another feature would be to add a gui button to crop and resize the image to webp.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.