Comments (2)
Hi!
If the jpg is detected as in "above-the-fold" then they are turned into progressive jpeg and not webp for better LCP performance.
I will improve the logging to make this more apparent.
That's also maybe what happened here:
║ webp->jpg │ 0 / 2 │ 219.07 KB │ 232.08 KB │ ║
If you really want webp, even "above-the-fold", I will make an option for this.
Meanwhile, if it's simple, you can add <the-fold></the-fold>
at the top of your html <head>
and then everything will be treated as "after-the-fold" and everything will be webp.
But if you care about performance, I think the default setting is the right way to go 👍
from jampack.
Logs will be improved. Meanwhile this can be closed.
from jampack.
Related Issues (20)
- Allow consumption through Deno HOT 4
- Feature Request: Add support for browser targets HOT 1
- unmet peer react@^16.8.0: found 18.2.0
- Adding GZIP and Brotli compression for html etc. HOT 2
- No source generated for `<picture>` tag HOT 5
- Hangs with Deno 1.40.5 but works with 1.38.2 HOT 3
- Not all images get converted to webp and remain as jpeg instead HOT 2
- Add support for integrity attribute in script/link
- Why did jampack convert some PNGs to JPGs? HOT 2
- Error installing Jampack via `npm install -g` on MacOS HOT 4
- Skip adding width/height attributes to images HOT 8
- Vercel + Astro image compressions error HOT 2
- Error: Could not load the "sharp" module using the darwin-arm64 runtime HOT 2
- Does it support SSR image optimization HOT 1
- Jampack rotates images 180 degrees HOT 6
- 'Failed to create `_jampack` folder.' when running for the second time HOT 2
- image.compress = false still compresses images HOT 2
- Jampack messes up <picture> elements used for "Art direction" HOT 4
- Not generating multiple images HOT 14
- Option for minifying HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jampack.