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

Added the option to generate the webp file without alpha. #270

Merged
merged 1 commit into from
Jul 13, 2023
Merged

Added the option to generate the webp file without alpha. #270

merged 1 commit into from
Jul 13, 2023

Conversation

Squadella
Copy link
Contributor

@Squadella Squadella commented Jun 26, 2023

Hi,

I was working on another app and I needed to generate some webp files. Your library helped me greatly, it does just what I want to do.

However, there is no option on the library to generate webp images without alpha layer. I implemented it for the webp using the -noalpha option of the cwebp command.

For this new option, I have kept the old constructor with the default arguments to avoid breaking the library and created a new one if people want to set it directly.

Hope you will accept my MR.

@sksamuel
Copy link
Owner

Awesome.

@sksamuel sksamuel merged commit 3bd7f51 into sksamuel:master Jul 13, 2023
an-tex pushed a commit to an-tex/scrimage that referenced this pull request Mar 13, 2024
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.

2 participants