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

optimizer Image got larger than original #107

Closed
odaiderawi opened this issue Dec 23, 2019 · 2 comments
Closed

optimizer Image got larger than original #107

odaiderawi opened this issue Dec 23, 2019 · 2 comments

Comments

@odaiderawi
Copy link

image

original 112k
optimizer 190k !!

@freekmurze
Copy link
Member

Probably this is caused by something in your environment. Please provide a test for us to fix.

@mathmul
Copy link

mathmul commented Mar 24, 2021

I find Image Compressor gives best results for manual optimization. And if the image is already optimized with this (or some other) tool, then new Image('image.min.png')->quality(75)->save(); (Forgive me to go out of scope with a wrapping package) will AFAIK always result in a byte-wise bigger picture.

Different algorithms by the looks of it.

Despite this, I know of no better tool than spatie/image-optimizer (spatie/image, spatie/browsershot), to optimize images uploaded by users who take pictures with their phones/cameras and don't know how to resize and optimize them.

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

3 participants