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

Add ability to configure jpeg optimize and quality #76

Merged
merged 2 commits into from
Mar 7, 2021

Conversation

RandallKent
Copy link
Contributor

closes #75

@pageauc
Copy link
Owner

pageauc commented Mar 6, 2021 via email

@pageauc
Copy link
Owner

pageauc commented Mar 6, 2021 via email

@RandallKent
Copy link
Contributor Author

I don't notice a difference visually when going down to 50. The file size is ~65% smaller though.

This isn't an area I'm super familiar with but from what I've read, this should work on lower versions. Additionally, when running on my environment, I can't get it to save anything other than a JPEG so figured that was a deprecated feature.

@pageauc
Copy link
Owner

pageauc commented Mar 7, 2021 via email

@RandallKent
Copy link
Contributor Author

RandallKent commented Mar 7, 2021

Yes - Smaller image file sizes are the point 😄

Made your requested changes

@pageauc
Copy link
Owner

pageauc commented Mar 7, 2021

Just a reminder that the variable 'image_jpeg_optimize' will not be used in your current pull request. This means all jpg, jpeg images will be optimized/compressed so no chance for anyone to suppress this feature. I will merge this request but add this check to the if statement after the merge, unless you want to modify your pull request again.
Let me know.
Thanks for your work
Claude ...

@RandallKent
Copy link
Contributor Author

I'm not following you.

Why would image_jpeg_optimize not be used?

Perhaps you can comment directly on the code or if you have suggested changes, commit them to the fork which will make them a part of this PR?

@pageauc pageauc merged commit fa4f745 into pageauc:master Mar 7, 2021
@pageauc
Copy link
Owner

pageauc commented Mar 7, 2021 via email

@RandallKent RandallKent deleted the reduce-file-size branch March 7, 2021 22:55
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

Successfully merging this pull request may close these issues.

Reduce file size of saved jpeg
2 participants