4 ms·
I absolutely love Inkscape for complex artwork, however I wish it would try to implement better conversion to the official web spec. After saving, I find myself
by chromedev 6y ago
I absolutely love Inkscape for complex artwork, however I wish it would try to implement better conversion to the official web spec. After saving, I find myself manually optimizing the SVG and sometimes redoing it completely to remove a lot of fluff that isn't needed.
- toper-centage 6y agoJust save as plain svg or optimised svg then?
- ygra 6y agoSave As > Plain SVG or Optimized SVG should remove the things you don't need. You tend to have control over everything else directly in Inkscape.
- asddubs 6y agothat'll still generate a ton of unnecessary inline styles
- azeirah 6y agoDon't know if these work, but iirc there are several svg optimization/simplifiers available as JS libraries on npm and github. Is there something there that would help, perhaps?
- tomcooks 6y agoSvgo helps a lot, I always use it to reduce the size of my SVG files, otherwise a couple of plaintext substitution get rid of all inline styles in a swift Vim macro
- jarek-foksa 6y agoYou might want to try Boxy SVG [1]. Its UI is heavily inspired by Inkscape. It tries to use as little non-standard namespaces as possible, e.g. check [2] for a comparison of the markup you get after creating a new file and drawing a single rectangle. The app uses Chromium rendering engine under the hood, so most files should render the same way as when opened with Chrome. [1] https://boxy-svg.com https://boxy-svg.com [2] https://gist.github.com/jarek-foksa/8f5bdef732827bc2a3bf49e3e25dc630 https://gist.github.com/jarek-foksa/8f5bdef732827bc2a3bf49e3...
- tomcam 6y agoCan confirm Boxy is well worth its minuscule price. It’s also very fast.
- jansan 6y agoSome of the operations are unbearably slow if images become more complex. It seems to be using paper.js, which works but is not really famous for high performance with complex paths.
- pjmlp 6y agoAnd on the Web it is a classical example of "Works only on Chrome", oh well.
- jarek-foksa 6y agoIt works on the latest version of any Chromium-based browser such as Chrome, Vivaldi, Opera, Edge, etc.
- pjmlp 6y agoChromium is Chrome with another book cover.
- gvjddbnvdrbv 6y agoAll of these are just skins over Google's code. Does even Microsoft make any meaningful contribution to Chromium?
- extra88 6y agoThey do. Microsoft people were largely responsible for the improved default focus ring and input elements. There have been other notable contributions.
- Yetanfou 6y agoWell, I just tried to run one of their on-line demos and was greeted by a message from the past: Unsupported browser Please install the latest version of one of the following browsers to continue. Google Chrome, Microsoft Edge, Vivaldi, Opera "This site best viewed in Internet Explorer" is dead, long live "This site only works on the Blink engine". Well, ghee, thanks, but I'll just go somewhere else then shall I? While I do have Vivaldi and Chromium installed I only use these to test sites, not for general-purpose browsing. Here's to hoping Mozilla either gets inspired and kicks out 75% of its administrative staff to concentrate on their actual mission or some of those developers decide to be inspired by their forefathers who started the Phoenix->Firebird->Firefox project to get rid of all that legacy cruft. Make Mozilla Great Again!
- rriepe 6y agoAgreed. I love Inkscape but I can't use it without svgo.
- aspaviento 6y agoJake Archibald has a great tool to clean SVGs https://jakearchibald.github.io/svgomg/ https://jakearchibald.github.io/svgomg/