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 support for avif images #1749

Merged
merged 1 commit into from Nov 16, 2022
Merged

Conversation

AlexanderShushunov
Copy link
Contributor

What kind of change does this PR introduce?

Feature: Add support of avif image format.

Did you add tests for your changes?

Yes. It works )

Summary

Avif is broadly supported format https://caniuse.com/?search=avif
In many case avif provide better compression with the same quality.

Does this PR introduce a breaking change?

noop

Other information

Environment Info:
System:
OS: macOS 12.6
CPU: (10) arm64 Apple M1 Pro
Binaries:
Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
Yarn: 1.22.18 - ~/.nvm/versions/node/v16.17.0/bin/yarn
npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
Browsers:
Chrome: 107.0.5304.110
Safari: 16.1

@AlexanderShushunov AlexanderShushunov requested a review from a team as a code owner November 16, 2022 20:35
@changeset-bot
Copy link

changeset-bot bot commented Nov 16, 2022

🦋 Changeset detected

Latest commit: 957059b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
preact-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@rschristian
Copy link
Member

rschristian commented Nov 16, 2022

Thanks!

Mind adding a changeset? You can do this by running yarn changeset from the root of the repo. This will then go into the change log when we publish a new version containing this feature.

@AlexanderShushunov
Copy link
Contributor Author

Thanks!

Mind adding a changeset? You can do this by running yarn changeset from the root of the repo. This will then go into the change log when we publish a new version obtaining this feature.

done

@rschristian rschristian merged commit 691a4e2 into preactjs:master Nov 16, 2022
@preact-bot preact-bot mentioned this pull request Nov 16, 2022
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.

None yet

2 participants