Machine-generated PostScript is challenging for me to read.
I wonder how efficiency of modern PostScript compares to SVG.
Several formats already exist for various use cases: PDF for printing, SVG for web graphics (simple content and icons), OpenType fonts for vector based text and SVG as an exchange format between vector graphics apps.
The only use case I can think of is for standalone vector graphics images, but PDF or SVG is often good enough for that.
To allow simpler implementation for both consumer and creator software. To achieve better performance (lower size, faster parsing and drawing).
> The only use case I can think of is for standalone vector graphics images, but PDF or SVG is often good enough for that.
SVG has some problems as a graphics format, which are highlighted in this thread. I'm not sure about PDF, I never saw it used as a vector image format, so can't judge much about it.
PNG and JPEG files are also universally usable outside of browsers. Linux systems often use SVGs for icons, but that's basically where the support stops. If I want to include a SVG in a latex I have to convert it to postscript or pdf. If I want to include a SVG into a Word document I have to convert it into an emf (enhanced metafile). You can't use SVGs for cocoa, UIkit, WinForms or MFC applications out of the box. The reason probably is the complexity to support SVGs.
I disagree.
I regularly visit codrops and they show a lot of cases how you can use them. A lot of the frontend web development is using them a lot.
http://www.ns.nl/ the dutch train company, for example uses a mix of inline svg, background image svg and scr tags with svgs.
https://www.spotify.com/nl/ uses SVG in the logo, the account icon and the arrows.
https://www.digitalocean.com/ svg is best practise for having vector images on your site.
The nice thing of SVG is the compatibility with css, for the web it is a nice tool to use.
Google maps switched to SVG for street layers like ten years ago.
I also prefer to work in SVG directly, i.e. not with some export from an Adobe product. Inkscape is helpful at times but normally it is much easier to do one's own primitives than to have some path that does a circle in however many points. It is great when you can do something like an Instagram icon in four lines of SVG (including colour gradients) than the 1.4Mb EPS file provided in their brand resources.
I do scour the web for things in SVG that are to my personal standards of doing it, i.e. cruft free with a sensible viewbox etc. Yet rarely do I find anything that is that good. It is like the difference between HTML and MS Word documents exported to HTML, with proprietary tags etc.
I do not work too well with the graphics team I work with when it comes to SVG - they are still in the print era and not on the same page as me. They are no more able to work with SVG than the Office Manager is able to make the leap from MS Word to editing HTML in 'vi'.
Regarding usability, for 'supported browsers' (no IE 9-) SVG is great. A year ago I would not have thought that.
For us programmer types SVG is accessible, for graphics guys it isn't really. This I like as I can work with my frontend developer on SVG and not really need 'assets' from the graphics guys still stuck with GUI desktop publishing software that should have been left in the 90's where it belongs.
Want the logo a bit smaller? Want that little design element bigger? It's incredibly convenient knowing you can change up your design a bit without having to regenerate your graphics.
JPEG files were the standard for photographs before the first browser was written.
PNGs are super easy to support if you don't care about gamma correction, so it's no surprise that they're widely used.
Vector formats are another beast altogether. Notice from your example that you can't include the EMF in latex either, since an EMF is basically a set of windows draw commands. I'm not sure about the current status of Postscript in Word. Years ago you could embed EPS files but they wouldn't display and only print if you had a postscript printer.
Vector formats are just difficult.
Such a vector-drawing ISA wouldn't be at all human-readable, but it'd be an excellent object-code format for other vector formats to compile down to.