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

Setting svg as mask image makes the mask to have incorrect size #634

Open
paring-chan opened this issue Sep 8, 2024 · 0 comments
Open

Comments

@paring-chan
Copy link

Bug report

Description / Observed Behavior

When I set svg as maskImage property in satori, it doesn't scale to match mask-size css property and results the original size

Expected Behavior

The mask should be sized to the mask-size property

Reproduction

Create a shareable reproduction link for the issue using https://og-playground.vercel.app.
https://og-playground.vercel.app/?share=TZJPb5wwEMW_yshS5FYlgBb2T53QQ6NIrZRe2qqHKoeYZQB3DUbGLGxX-90zXlCUk9-zxqM3v_GZ7U2BTLD7Qh2fW4DenTRm57PXAIXqOy1PAnipceL-8nJ5br944V-8lcOoClcLSOI4gBpVVbvF5HJ_qKwZ2uLBaGOp1VgrhzyARvaH742sUMDLYPWHQjoplL-I-mP1aWp0cJM8kASSbZ_x2rlORNE4juGYhMZW0SqOY1_MQVolb7XMUWf8D9o9atCmMo20B74Eyniy4mANBeaqoTdzeL5El4Mzd2COaEttRgFH1atc4x0nheNXM2U8hhi2KWxSfpM8UrZOuhqKjP9ItuF693kDcbhaP23TcJ2Q2aTkvsXhhky6e3pf85dDqTRFnVnM3SLfbpE0E6mPLzOlX-o_QeLEs5s81W5a8P3EDiWR5q25tVfNaUEQ0YLuI9oPnSxgpnPKtD0TZ3adlYkdbYbNVJhIvSkwHyomSql7DBg25p_6fer8z3Dj1VGf0rTuscmxYMLZAS8BczKniho1ETNWF-zyCg

Additional Context

Satori version, and any other context about the problem here.

using satori 0.10.14

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

No branches or pull requests

1 participant