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

[eleventy-plugin-local-respimg] Ignore optimized images that are larger than the original #45

Open
sdalmonte opened this issue Aug 26, 2020 · 0 comments

Comments

@sdalmonte
Copy link

Sometimes when I run this plugin, some of the optimized images have a larger file size than the original image. Would it make sense to add an option to ignore/discard these images and fall back to the original?

I’ve seen this at >90% of the original width when generating an optimized PNG from a PNG original, and at >70% of the original width when generating a WebP from a JPEG original.

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

1 participant