Skip to content

ashx3s/webp-converter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Convert any images to webP image in batch.


  • turn functions accepting callbacks into promises, and then chain them with .then statements

Instruction

  • Setup

    • Clone this project
    • Relative path to App.js in the console run 'npm install'
  • Execution

    • Place all images in the images folder
    • Relative path to App.js, in the console run 'npm start'
  • NOTE: Added CLI input, run with the target folder as command line argument.
  • TODO: automatically create a new folder to export files into, create as sibling to the target folder That's it!

TODO NEW FEATURE (ashlyn)

  • Command line argument input directory
  • Autocreates output directory

NOTE: Setup only done once. If you want to batch process a set of images again, all you need to do is the execution part.


Legend

  • images folder, is where you place your images.
  • webp-converted folder, is the output folder, all converted images goes in here.

Attribution

https://github.com/scionoftech/webp-converter

https://developers.google.com/speed/webp


Authors

Norvillie Villaruel Ashlyn Knox SAIT web dev 2021

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%