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

chore(docs): mention uses for unoptimized #73604

Merged
merged 3 commits into from
Dec 6, 2024
Merged

chore(docs): mention uses for unoptimized #73604

merged 3 commits into from
Dec 6, 2024

Conversation

styfle
Copy link
Member

@styfle styfle commented Dec 6, 2024

@styfle styfle requested review from a team December 6, 2024 15:48
@ijjk ijjk added created-by: Next.js team PRs by the Next.js team. Documentation Related to Next.js' official documentation. labels Dec 6, 2024
@styfle styfle enabled auto-merge (squash) December 6, 2024 20:06
Copy link
Member

@samcx samcx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lfgtm:

@styfle styfle merged commit f8494b4 into canary Dec 6, 2024
52 of 56 checks passed
styfle added a commit that referenced this pull request Dec 6, 2024
Add docs for `unoptimized` use cases.

- Closes #72140
@styfle styfle deleted the styfle/docs-72140 branch December 6, 2024 22:13
size, or format. Defaults to `false`.
When true, the source image will be served as-is from the `src` instead of changing quality, size, or format. Defaults to `false`.

This is useful for images that do not benefit from optimization such as small images (<1KB), vector images (SVG), or animated images (GIF).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks!

That link didn't work for me but I found the PR here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
created-by: Next.js team PRs by the Next.js team. Documentation Related to Next.js' official documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image component shows compression artifacts, and increases the image's size, on very small pngs
4 participants