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 lossless option for saving webp #208

Merged
merged 1 commit into from
Dec 22, 2017

Conversation

mikestead
Copy link

@mikestead mikestead commented Nov 11, 2017

Surfacing option to save webp images in lossless mode.

Looking at libvips this param has been available for quite some time (7.38 I think) so didn't wrap it in a version conditional.

Just testing the water but if this looks ok I could have a go at surfacing some of the other webp options mentioned in #135 like

  • o.NearLossless
  • o.AlphaQuality
  • o.SmartSubsample

and potentially

  • o.WebpPreset enum

Let me know if that's ok, along with the naming, and I can give it a shot.

@h2non
Copy link
Owner

h2non commented Nov 14, 2017

@mikestead yeah, it would be great supporting all of them. WebP usage is increasing and will be common users need more customizacion levels.

@h2non h2non self-assigned this Nov 14, 2017
@h2non h2non merged commit 262d0f8 into h2non:master Dec 22, 2017
@h2non
Copy link
Owner

h2non commented Dec 22, 2017

Thanks for the PR. v1.0.18 is out with this enhancement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants