androidsvg icon indicating copy to clipboard operation
androidsvg copied to clipboard

colrv1 asset with multi-layers

Open idontveapc opened this issue 2 years ago • 2 comments

Describe the bug

A clear and concise description of what the bug is.

i used a colr1(svg) asset that's said to be "heavy" or "has many layers". that looks: 1. https://private-user-images.githubusercontent.com/122597295/287426560-03a88c3c-af89-4b2e-9c5f-02afe6ed29ec.png 2. https://private-user-images.githubusercontent.com/122597295/287426572-65dbcdd3-5b3b-40f2-ae1e-56a0e0d71299.png

To Reproduce

  • Steps to reproduce the behavior:
  1. Go to 'https://github.com/microsoft/fluentui-emoji/tree/main/assets/Melting%20face/Color or https://github.com/microsoft/fluentui-emoji/tree/main/assets/Palm%20tree/Color'
  2. Download or click on the file (to see on the a browser/*chromium)
  3. See error

Expected behavior

A clear and concise description of what you expected to happen.

*chromium example of how it should be showed:

https://private-user-images.githubusercontent.com/122597295/287426620-7b3e6842-fd64-430e-9ac5-0056e8b335d0.png https://private-user-images.githubusercontent.com/122597295/287426628-7d2f4c71-ca0e-4665-8224-940d39dd1093.png Stack traces

If an exception is being thrown, please include the exception message and any stacktraces, or other relevant logging.

SVG file

In order to reproduce the bug, we almost certainly need the actual SVG that fails.
You can either include the file as an attachment, or small files may be embedded as a code snippet.
If the file is large, or there are Intellectual Property issues, please reduce the file to a minimal version that reproduces the fault.

use the link(s) given in reproduction steps.

Screenshots

If applicable, add screenshots to help show the actual and/or expected results.

see this comment

Device

If the problem only occurs on some devices, please include the following info.

  • Device(s): [e.g. Google Pixel 3]
  • Android version or API level: [e.g. 8.1 or API 27]

Additional context

Add any other context about the problem here.

this library ("Android SVG") is used by "an android app" on which this issue exist.

idontveapc avatar Dec 02 '23 15:12 idontveapc

sorry images links aren't working (because i already created this issue on other repo(s)).

accordingly... 287426560-03a88c3c-af89-4b2e-9c5f-02afe6ed29ec 287426572-65dbcdd3-5b3b-40f2-ae1e-56a0e0d71299

the *chromium ones... 287426620-7b3e6842-fd64-430e-9ac5-0056e8b335d0 287426628-7d2f4c71-ca0e-4665-8224-940d39dd1093

idontveapc avatar Dec 02 '23 15:12 idontveapc

What both these SVGs have in common is that they use filters. Currently AndroidSVG does not support filters. I am confident that is the cause of the differences.

Until recently, it wasn't really feasible to support filters, due to the lack of support in the Android API. I think it may be somewhat possible now. But implementing support probably won't happen anytime soon, I'm sorry.

BigBadaboom avatar Dec 04 '23 01:12 BigBadaboom