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:
- Add your .png images to the
inFiles
folder - in the
index.ts
add your file name(s) in the array - run
npm run start
- Your .webp files will be in the
outDir
folder!!
Overwrites by default so don't worry
Tuning
- Directory and looping specific methods are present in
index.ts
- Sharp specific methods are in
imageMethods/convert.ts
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!