-
Notifications
You must be signed in to change notification settings - Fork 270
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
Svg support #386
Svg support #386
Conversation
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
this is happening for sure - just a matter of when |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
if (extension == ".svg") | ||
{ | ||
var plugins = aggressiveCompression ? Svgo.LossyPlugins : Svgo.LosslessPlugins; | ||
var config = JsonConvert.SerializeObject(new { full = true }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the last part to track down here Error: couldn't find config file ''{full:true}''.
just have to get the quotes in the right places
alright this is confirmed and ready to go! Lossless by default and you can opt in to lossy compression the same way you would for pngs/jpgs/gifs with the .imgbotconfig aggressiveCompression=true |
#332
pending: