Open jstcki opened 8 months ago
Any updates here?
Edit by maintainer bot: Comment was automatically minimized because it was considered unhelpful. (If you think this was by mistake, let us know). Please only comment if it adds context to the issue. If you want to express that you have the same problem, use the upvote 👍 on the issue description or subscribe to the issue for updates. Thanks!
Link to the code that reproduces this issue
https://github.com/vercel/turbo/blob/734c764c61da9d6493f0d6616d10ec58702eafd1/docs/pages/api/og.tsx#L92-L93
To Reproduce
Look at any image rendered by
next/og
or@vercel/og
, for example one from the Turbo docs.Current vs. Expected behavior
Current
When you look at the image at 100% scale, you'll see that everything is rendered at 1/2 the resolution, fonts and graphics are blurry and pixelated.
Expected
When I set 1200x630 as image size, I expect that a crisp PNG is rendered instead the image being effectively rendered at 600x315px and scaled up.
Verify canary release
Provide environment information
Which area(s) are affected? (Select all that apply)
Middleware / Edge (API routes, runtime)
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local), next start (local), Vercel (Deployed), Other (Deployed)
Additional context
No response