Skip to content

Help adding command to settings #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
username1290 opened this issue Sep 25, 2018 · 4 comments
Closed

Help adding command to settings #42

username1290 opened this issue Sep 25, 2018 · 4 comments

Comments

@username1290
Copy link

username1290 commented Sep 25, 2018

SVGO exported files with masks are not liked by Android Studio.
An alternative to the Adobe Illustrator solution (posted a while back) is to run:
svgo --enable=removeUnknownsAndDefaults file.svg in Terminal to remove masks, that way SVG files can be opened in Android Studio.
Any tips to add this setting into SVGO?
EDIT: Because settings says it's enabled.

@mathieudutour
Copy link
Contributor

hum masks are not unknown so I don't think it's the removeUnknownsAndDefaults that remove them 🤔

@username1290
Copy link
Author

username1290 commented Sep 26, 2018

just remembered someone at SO mentioned running SVGO twice to "fix" their files. Maybe it's the same thing (first one inside Sketch, the second one in Terminal)?
🤔 detective work

@mathieudutour
Copy link
Contributor

Hum interesting. By default the multipass setting is enabled. It's supposed to run the optimization 10 times

@mathieudutour
Copy link
Contributor

anyhow, I think it'd be best to move this conversion to #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants