libres
libres copied to clipboard
Issue with SVG on iOS
I'm hoping that you can provide more information on how SVG images should be handled for a multiplatform project that targets Android and iOS. I've included a SVG file that contains more than one color. I've found that it does not render as I would expect. On Android it renders fine, but on iOS it shows black in areas that are transparent or it doesn't render at all. The behavior changes with material vs material3 Image.
I see that there is some discussion of image modifiers in the documentation. Can you explain more about "(orig)" and how it should be used? Should all images filenames be marked with a suffix of "_(orig).svg"? If you designate an image as the original, how should it be referenced on iOS? Does this mean that there needs to be more than one copy of the image when one version is designated as an original?
Does having a SVG with only one color change how it should be used?