Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Latest commit

 

History

History
3 lines (2 loc) · 388 Bytes

README.md

File metadata and controls

3 lines (2 loc) · 388 Bytes

Preview Maker

A little CLI that takes a URL as an argument and outputs the original size of the image and an optimized base64 string that represents it. I made it just for testing purposes. It optimizes PNG and JPEG images using the pngquant and jpegtran algorithms respectively. From now on, this will be the code I use when I make my image previews, be it automatically or manually.