/png-to-webp

Small PNG to WEBP converter, terminal based and handy for a frontend developer :D

Primary LanguageTypeScript

Image Utils

A small util i used while making antstack.com

What does it do and how to use?

It basically converts .png files to .webp Read about Webp here

uses Sharp to do all of its magic

Setup:

install packages using your package manager

npm install

Usage:

  1. Add your .png images to the inFiles folder
  2. in the index.ts add your file name(s) in the array
  3. run npm run start
  4. Your .webp files will be in the outDir folder!!

Overwrites by default so don't worry

Tuning

More to come!

I need Help!!!

I think having a handy desktop app that is nicely customizable will help any frontend dev and will be a fun activity to checkout desktop app development. I am exploring Tauri or even Electron will do!