Embed small images
If the image is above the fold and smaller than 1500 bytes, jampack
embeds the image into html
using data URIs
.
Demo
SOURCE
JAMPACKED
_jampackbass.svg1891bass.svg1891index.html447index.html1048small.svg227small.svg227small.svg.svg210smilley.png1586smilley.png1586smilley.png.webp186SOURCE
- bass.svg1891
- index.html447
- small.svg227
- smilley.png1586
JAMPACKED
- _jampack
- bass.svg1891
- index.html1048
- small.svg227
- small.svg.svg210
- smilley.png1586
- smilley.png.webp186
Terminal
__ __
|__|____ _____ ___________ ____ | | __
| \__ \ / \\____ \__ \ _/ ___\| |/ /
| |/ __ \| Y Y \ |_> > __ \\ \___| <
/\__| (____ /__|_| / __(____ /\___ >__|_ \
\______| \/ \/| | \/ \/ \/
v0.22.1 |__| by βΉdivβΊRIOTS
Options:
{ onlyoptim: true }
PASS 1 - Optimizing
βΆ index.html
Done: 79.173ms
Summary
βββββββββββββββ€βββββββββββββ€βββββββββββ€βββββββββββββ€βββββββββββ
β Action β Compressed β Original β Compressed β Gain β
βββββββββββββββΌβββββββββββββΌβββββββββββΌβββββββββββββΌβββββββββββ’
β svg->svg β 1 / 1 β 227.00 B β 210.00 B β -17.00 B β
β svg->embed β 1 / 1 β 227.00 B β 210.00 B β -17.00 B β
β png->webp β 1 / 1 β 1.55 KB β 186.00 B β -1.37 KB β
β webp->embed β 1 / 1 β 1.55 KB β 186.00 B β -1.37 KB β
βββββββββββββββΌβββββββββββββΌβββββββββββΌβββββββββββββΌβββββββββββ’
β Total β 4 / 4 β 3.54 KB β 792.00 B β -2.77 KB β
βββββββββββββββ§βββββββββββββ§βββββββββββ§βββββββββββββ§βββββββββββ
Issues
βΆ index.html
fix Adding missing to the top of the
1 issue(s) over 1 files