The current PNG is auto generated by asciinema.org. And there’s not much you can do with a lossless image of a certain size.
Btw, this doesn’t work well for crazy long demos due to performance but if you have short demos it would be perfect. https://github.com/nbedos/termtosvg if you’re interested.

Isn't this beautiful -- when it works.
Update asciinema shot to screencast in animated SVG
===================================================
Just want to share something I spent some time working on. So recently I discovered this cool thing -- terminal screencasts as animated SVG. The whole > one minute of it is merely ~80.6KiB gzipped compared to >400KiB of our current PNG screenshot.
Unfortunately this can't be merged because performance is absolute garbage on Chrome for whatever reason (works very well on Firefox and Safari). Whole page is made janky as hell and one frame is rendered every five seconds or something.
Strip trailing comma from metadata
==================================
Without this patch we could see awkward output like
```
3. iNEWS FTP/FTPS Server Specification - Avid
http://resources.avid.com/SupportFiles/attach/Broadcast/iNEWS-FTP-FTPS-ServerProtocol.pdf
Sep 25, 2017,
FTP (File Transfer Protocol) interaction. The iNEWS FTP Server supports a subset of the FTP commands described in the FTP specification and ...
```
Fix news search
===============
Two issues.
1. Regression caused by cacf7ffe5a3044453ae7ee970c9c9c0590362516. Before the fix, `--news` is effectively discarded because `--videos` caused `tbm` to be either overwritten or popped.
2. I'm seeing #316 again, and it's not like I use `googler -N` every day -- I haven't touched it since #316, and I believe I've been mostly or exclusively seeing the new layout in my sparing use of Google News, so I suspect it's not an anomaly. Since I already wrote a completely backward-compatible patch capable of handling both layouts, I figured why not.
I noticed the same problem and tracked it down. It seems Safari doesn't support scripting in svg when used in an `img` tag, probably due to security considerations; but scripting is allowed when used in an `object` tag.
Trivial reproduction:
```html
<img src="https://nbedos.github.io/termtosvg/examples/awesome_window_frame_js.svg">
<object data="https://nbedos.github.io/termtosvg/examples/awesome_window_frame_js.svg">
```
The upper one does not animate, the lower one does.
Not sure what can be done about it.