Dear Aspose,
We have a problem with Aspose generated Svg containing Png image the way how it is done for this particular case.
The problem is that we use React on FE to display html, that has to pass sanitization.
DOMPurify.sanitize(complexHtml)
Unfortunately after this step image is not displayed.
For other images we do not have the problem - this is example of SVG with PNG that works after sanitization:
SvgWithPngThatWorksAfterSanitization.html
What Aspose does for this SVG instead of using image directly,
It defines symbol that contains the image
It defines the pattern that uses the symbol
It defines rectangle that uses the pattern
@ottap,
Thank you for describing the issue. We are sorry that you encountered this problem. I need some time to check the issue. I will get back to you as soon as possible.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.