I uploaded an SVG in Plone 6. Then I took TinyMCE and used the image in scale large. Now I got a scale of the SVG delivered. IMO this is pointless, but I may not know why this is needed?
Also the "scale" does not behave correcly. If the scale is large than the pixels set in the SVG, the SVG
got a height of 1.
Overall I would tend to say this is all by accident and SVG should never go through our scaling pipeline? Is it all just about caching and invalidating? Are the size caclulations wrong for SVG + scalings?
SVG is basically a (html?) vector format . I have manually changed sizes of SVGs by editing them with a text editor (since I was sent SVGs in different sizes from a designer). All one need to do is change 'width' and 'height', so theoretically this would be the way to make a scale, I think.
PS: SVG could be a security risk, not sure if 'scaling' could be a problem when 'processing files'
Yes, I think that is enough. I dont think you should edit the other part (I think that is for 'masking', 'cropping without cropping'. You only need to edit those if (for example) the SVG has 'empty parts around it, which is not related to the 'scale')