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

feat: universal meta resolving #55

Merged
merged 8 commits into from
Nov 2, 2020
Merged

feat: universal meta resolving #55

merged 8 commits into from
Nov 2, 2020

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Oct 28, 2020

Previously we was depending on providers to resolve image meta (getting aspect ratio and also base64) this was adding complexity and sometimes extera requests. With this PR, using nuxt-contrib/image-meta (for Node.js) and Image + Canvas (for Browser), we can universally have ratio. (Future release of image-meta may eventually support Node.js if we can remove Buffer dependency)

src/index.ts Outdated Show resolved Hide resolved
@farnabaz farnabaz marked this pull request as ready for review November 2, 2020 12:19
@farnabaz farnabaz merged commit 45bbbe9 into master Nov 2, 2020
@farnabaz farnabaz deleted the meta branch November 2, 2020 12:20
src/index.ts Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
procrates pushed a commit to procrates/nuxt-image that referenced this pull request Feb 21, 2023
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