0.1.11 • Published 3 years ago

tiny-pixels v0.1.11

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Tiny Pixels

Is a image resize and compression CLI. Its aim is to help resize and compress large amounts of images in a simple and predictable way.

Installation

npm i -g tiny-pixels

Options

-d set the directory which contains your images

-o optional set the output directory for processed images

-j optional set the path to the output file for the json description file

-f optional set the formats you want the images to be in. Currently supported are webp, avif and jpeg

-s optional set the sizes you want to generate for all images. 400square@50 generates square image with the width and height of 400px at a quality of 50. 2560max generates images that keep their original aspect ratio and with a maximum height/width of 2560px with a default quality of 75

--statsOnly optional just generates the json output file without converting any images

--includeExif optional include exif information like camera make, iso, fNumber, exposureTime etc in the output file

Examples

tiny-pixels -o ./generated-images.json -d ./path/to/images -o output/dir -f webp avif -s 160min@50 640min@60 2560max
0.1.10

3 years ago

0.1.11

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.9

3 years ago

0.1.4

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago