Pixplicity / sharp

Scalable vector graphics for Android
Apache License 2.0
1.03k stars 117 forks source link

Cannot use the SVG with "<clipPath>" element #45

Closed sundariragavan closed 4 years ago

sundariragavan commented 5 years ago

My SVG image data have global element. Unable to pass the clipPath element

chadallen87 commented 4 years ago

.

pflammertsma commented 4 years ago

Can you please provide a sample SVG?

On Fri, Sep 27, 2019, 17:27 chadallen87 notifications@github.com wrote:

.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Pixplicity/sharp/issues/45?email_source=notifications&email_token=AACF2Y3QEKQ446PGK6IBMZLQLYX65A5CNFSM4H25KEDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7ZNRWQ#issuecomment-536008922, or mute the thread https://github.com/notifications/unsubscribe-auth/AACF2YZWNMHTRXXLUEB3KEDQLYX65ANCNFSM4H25KEDA .

chadallen87 commented 4 years ago

Can you please provide a sample SVG? On Fri, Sep 27, 2019, 17:27 chadallen87 @.***> wrote: . — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#45?email_source=notifications&email_token=AACF2Y3QEKQ446PGK6IBMZLQLYX65A5CNFSM4H25KEDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7ZNRWQ#issuecomment-536008922>, or mute the thread https://github.com/notifications/unsubscribe-auth/AACF2YZWNMHTRXXLUEB3KEDQLYX65ANCNFSM4H25KEDA .

my issue i think is that there is an embedded image in the SVG that doesn't load, and the paths get weird color highlighting, i can send the SVG code but its pretty large and would clutter up this forum, an email would work better if you have one you would be willing to share

sundariragavan commented 4 years ago

emotion.svg.zip

Sample SVG with clipPath element. @pflammertsma

pflammertsma commented 4 years ago

Duplicate of #19.

It appears that the specific issue with the SVG attached in @sundariragavan's comment is resolved by 9875ec3540ec13cbb40a09f1ca147d3eda266c1d