Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quality prop in nuxt-picture does not change file size #184

Closed
tanc opened this issue Feb 11, 2021 · 1 comment
Closed

Quality prop in nuxt-picture does not change file size #184

tanc opened this issue Feb 11, 2021 · 1 comment

Comments

@tanc
Copy link
Contributor

tanc commented Feb 11, 2021

Using the _ipx endpoint the files returned with different quality settings aren't any different in file size or quality. This results in huge files:

The two examples below have 65 and 25 quality specified but the file size is always 953 kB
image
image

These are generated like so:

<nuxt-picture quality="65" src="/images/rich.jpg" />
<nuxt-picture quality="25" src="/images/rich.jpg" />

Note that yarn generate produces identical sized images with quality making no difference there either.

@pi0
Copy link
Member

pi0 commented Feb 15, 2021

Quality handling fixed by ipx 0.6.0/ image 0.4.0.

@pi0 pi0 closed this as completed Feb 15, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants