We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Allow to specify width AND height to resize and crop to specific dimensions.
const metadata = await Image(src, { sizes: [{ width: 300, height: 200 }, { width: 600, height: 400} ], formats: ["avif", "jpeg"] });
As on option the same result may be obtained by specifying aspect ratio.
aspect ratio
The text was updated successfully, but these errors were encountered:
Related: #31
Sorry, something went wrong.
(Might be worth just posting this code in #31 as a suggested API so we only have one ticket for it)
Yeah let’s organize over at #31 for this. I do like your sample code!
No branches or pull requests
Allow to specify width AND height to resize and crop to specific dimensions.
As on option the same result may be obtained by specifying
aspect ratio
.The text was updated successfully, but these errors were encountered: