Giter Site home page Giter Site logo

Comments (2)

pjeweb avatar pjeweb commented on June 6, 2024

I don't think it's got to to with the nesting. The default mask mode for images in satori is was luminance not alpha. So if you use the mask but with a white shape instead of black it works:

https://og-playground.vercel.app/?share=lVRtT9swEP4rljUJkNqkTGhD2YrEAK2V9iZAsEmVRl4uiYtje7ZD35T_PjtpGrcr28gn557nfPfcnW-FY54ADvDhERqeodWExZwpjS7Ov9yd3_y8H1_ejtAQnQwG73ag0dX44-h2g7Xoh6_Xl1fXG8fXbzrHNbRxbLAWXXJeGOPAO3WMQnKhjNXkhVARqscATXCutVCB7xOPRJEXc__u07cfs_ytD_OwEBT6ltif5USDJ1g2wT3rHXGZgNzrvzw9_j6bLjb-DXXjWzkJqTIqiFKEszareYAGdYBFexBcahkSvTfWyV1yfPIr8ltSfx3Umwo3GkISdCkZOrRnhN4n5AkpvaAwXNVh7Tcjic4D24A6rv1yIFluIru2hChBQ5PeQUphfrCx8yeQKeUzA-QkSYB1kOCKaCPSQBJoqMkTdGBIScbGGgpl4BiYBtmB01Jpki4uuDEzk8gOoarOWuZeSQhpLtpCNh-F1NzjWmSj0TVFXGtebNue070lL4wUp6V25DWDNi7CDAL0UEp6-GpVz6Fn7dXRww7zGgSEVinjfVmf3bvuIXok-vN_39jx_3avU0ZTSFJkSMl4uOqm02vnq3quxA53_ke1HXDxkrrN75uRdNfHNmG0HtCtLeJQTNJMpVyaXj6oOKRgamVXg1ulqkJ-N0a-maN_DdX6pbjLyYnZPpqtBeUOVxg_ZpKXLLkhS9PCg9g-HVd5x9jX5WafbPe589jT5z1tdmV25yOzLyYM9zAXti8KBytca8WB3QC4Ubb-SSAqMxykIVXQw1DwKbldCLv89az-M_ek5t1eFREkONCyhKqHdRgZRg7UbAouaYKr3w

It's still off from the browser in terms of scaling/positioning, but that seems to be another problem.

The default mask mode should be fixed with this #548

from satori.

chopfitzroy avatar chopfitzroy commented on June 6, 2024

Luminance will work and thank you for linking the relevant issue 😄

Happy to consider this closed! ❤️

from satori.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.