On Wed, 2023-06-28 at 10:07 -0700, Marc Culler wrote:
> 
> BOTTOM LINE: we get more than a 90% reduction in size simply by choosing to 
> use the .svg extension when saving the plot instead of the .png extension.
> 

SVG is the right choice for most graphics, but there are some practical
problems:

  * The documentation needs to know how big to display an SVG graphic.
    With a PNG, the default is to use the image's height/width in 
    pixels, but with SVG, there's no such obvious default.

  * gzipped SVG doesn't work over the file:/// protocol in my firefox.
    This hasn't been a big enough problem for me yet to diagnose it,
    so I can't say how serious a problem it is. (I'll play around later
    today.)

  * Browser support in firefox/chrome alternatives still isn't great,
    although I think webkit is getting a new SVG renderer "soon." This
    is actually relevant more today than it was ten years ago, because 
    adding rust to firefox made it less portable, meaning you're
    more likely to be stuck with one of those alternatives.

  * Somebody's got to go through and look at 100MB of images to make 
    sure they still look right if we change 'em.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/06e3ac75a976ab63a9dddfcfa2a62920e9ba4715.camel%40orlitzky.com.

Reply via email to