Comments (4)
Checking it better I found that the served .jpg image is actually in image/avif
format even if the file extension is still .jpg
I didn't saw any difference in file size
from gatsby.
Hi @AdamQuadmon, Fred from imgix here 👋 Thanks for opening the issue. Could you please share an example URL that this plugin is generating that is not being rendered as an AVIF despite having auto=format
? Then I can investigate this further.
As response your later comments:
Checking it better I found that the served .jpg image is actually in image/avif format even if the file extension is still .jpg
This is the expected behaviour with imgix - we don't rewrite the url file extension
I didn't saw any difference in file size
What do you mean exactly by this? Between the JPG and the AVIF image? Or between the gatsby-sharp AVIF version and imgix AVIF version?
from gatsby.
I was just assuming to find the same behaviour in this plug in as for the gatsby-plugin-image one but I'm realizing they are different.
I checked better and there is some difference between JPG and AVIF
The original file is 1.6M
The JPG one 560kb (auto=compress)
The AVIF 512kb (auto=compress,format)
thanks for the quick reply!
from gatsby.
It seems to me that everything is working as expected at this stage so I'll close out this issue. If you're still facing issues please feel free to reply further and we can discuss.
from gatsby.
Related Issues (20)
- Use multiple sources within the same project HOT 3
- Building schema failed: Type `<type name>` declared in `createTypes` looks like a node, but doesn't implement a `Node` interface HOT 10
- Unable to provide the right src to ImgixGatsbyImage and fetching images: error 403. HOT 6
- getGatsbyImageData() returns larger images than needed in scrSet HOT 1
- Gatsby v4 compatibility HOT 26
- feat: more debugging features HOT 4
- Type Definition for "TRACED_SVG" Missing HOT 1
- feat: gracefully handle empty image URL fields HOT 5
- Js-core being exported in production as 57.7kb HOT 3
- Version 2.0.1 broken NPM package, missing dist/ folder HOT 2
- Is it possible to sign URLs when using the `getGatsbyImageData` hook? HOT 3
- feat: support for images within markdown HOT 2
- deprecated [email protected] dependency HOT 1
- `disableIxlibParam` doesn't work HOT 4
- Gatsby V5 support - graphql dependency HOT 3
- fix: Invalid plugin options for "@imgix/gatsby" - "domain" is required HOT 5
- fix: no support for `gatsby-plugin-image@3` so no `gatsby@5` support HOT 6
- ERROR @imgix/gatsby not working at all at build proccess HOT 3
- Is it possible to use customized GraphQL fields?
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 gatsby.