SVG pixelation (was pdfcairo terminal seams between bars in the colorbox)
Ethan A Merritt <[email protected]> Sat, 17 Jun 2023 22:41:05 -0700
| Newsgroups | gmane.comp.graphics.gnuplot.devel |
|---|---|
| Organization | University of Washington |
| Message-ID | <5744113.1B3tZ46Xf9@stonelion> |
> The svg terminal currently produces images with no image-rendering > annotations. And most browsers render images with bilinear interpolation > by default, which makes low-res images look very wrong. > My friend figured out how to get svg to work > in both firefox and chrome, and I'm attaching a patch that does that. > The description is in the patch. [snip patch that adds attributes <image image-rendering='crisp-edges' style='image-rendering: pixelated' ... ] Thanks. That's a good start. As tested here those attributes are indeed honored by firefox and chrome. Mixed success on other svg handling programs. Works: chrome firefox inkscape/inkview ImageMagick Fails: konqueror LibreOffice / soffice gwenview gimp Unknown (did not try): eog geeqie Ethan _______________________________________________ gnuplot-beta mailing list [email protected] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta