Replies: 1 comment
-
Please have a look at these example, I think it does what you expect: https://github.com/Shopify/react-native-skia/blob/c029cdcf8403f2869c4c3cc560ef126fb2b1ed9f/package/src/renderer/__tests__/examples/BlendModes.spec.tsx |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to render an image that will have customisable colors.
The SVG exported from figma display beautifully everywhere but not using Skia or rn-svg.
For rn-svg : it is because rn-svg does not support blending-mode in svgs.
For Skia, the reason is that skia does not support inline images inside svg.
Basically, in my svg, the inline
<image />
is in base64 and is used to be blended with the colors layers.How can I display this SVG using skia ? There has to be an alternative to inline
<image>
. I tried using Blending but it seems impossible to use with SVG, and even more impossible to use with simple images...here is my (simplified) svg :
Beta Was this translation helpful? Give feedback.
All reactions