April 4, 2022
Batch replace .svg with smartshape(s)?
Comments
(2)
April 4, 2022
Batch replace .svg with smartshape(s)?
Guide 10 posts
Followers: 1 people
(2)

I am encountering an issue in a project now that I am curious about solving, and might prove educational for the future. I have many instances of an .svg file that I would like to replace with a single smartshape. I can see that it is possible to replace or substitute an existing image file with another image file in the library – but is it possible to swap an image with a smartshape?

Thank you

2 Comments
2022-04-05 12:51:15
2022-04-05 12:51:15

You can certainly do half if this by deleting the SVG from the library to remove the same SVG from all slides that use it, however if the reason you are replacing the SVG is due to the delayed loading of SVGs there is a solution to this that Kim Price discovered in this article: https://elearning.adobe.com/2021/01/avoiding-the-svg-blink-with-javascript/

Like
(1)
2022-04-05 09:26:40
2022-04-05 09:26:40

AFAIK that is not possible since a shape is a completely different object. SVGs need to be generated on enter for the slide where they reside, because they are code-based. That is also the reason why you cannot fill a shape with a SVG, which is perfectly possible with a bitmap image.

Like
(1)
Add Comment