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.
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
mrnkr/preview-maker
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A little CLI that turns images from a URL into optimized base64 strings
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published