Skip to content

File conversion program which converts image assets into a more network-optimized version (webp).

License

Notifications You must be signed in to change notification settings

eray-onur/image-to-webp-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image to .WEBP Converter

Simple file conversion program which converts images into .webp format, which is far more optimized to work as network images.

P.S: .env file must contain these variables, otherwise conversion won't be stored: OPTIMIZED_ASSETS_PATH, UNOPTIMIZED_ASSETS_PATH

Supported Extensions

  • PNG
  • JPG
  • JPEG
  • GIF

F.A.Q.

How do i use this converter as a web service?

Run npm run start command and make a post request with content type of 'form-data', containing the image file to convert.

How do i convert many files at once?

Drop all image assets to be converted inside the unoptimized images folder described in the .env file and run npm run convert. Quite simple.

About

File conversion program which converts image assets into a more network-optimized version (webp).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published