lideo / minify-images

A very simple script that optimizes large jpg and png images in a given folder.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

A very simple script that optimizes large jpg and png images in a given folder.

It uses the Sharp Node module for the optimization.

Installation

npm install

Usage

Save the original images in the /src/img folder.

npm run minify

The optimized files will be copied to a folder called /img.

It also makes a copy of the images that don't need optimization.

PNG

PNG optimization is not working right now.

About

A very simple script that optimizes large jpg and png images in a given folder.


Languages

Language:JavaScript 100.0%