Change: Scalable Vector Graphics

created on Dec. 16, 2012, 10:25 p.m. by Hevok & updated on Dec. 16, 2012, 10:25 p.m. by Hevok

Scalable vector graphics (SVG) are resolution independent images and look very good even at non-native resolutions (e.g. Retina displays, or when zoomed in or out).

The majority of browsers now support SVG [http://caniuse.com/#feat=svg]. The only downside is that IE <= 8 and Android <= 2.x can not display these images. For these cases it is suggested to have a fall-back image in standard format such JPEG or PNG.

The sphinx's PDF builder also does not support SVG, but the following synthax directs Sphinx to look for the most appropriate format among those available:

.. sourcecode:: rest

.. figure:: _images/image.*

It means that for the case where _images contains image.pdf and image.svg, the HTML builder will then use image.svg and the PDF builder image.pdf.

Create a tutorial on how to produce stunning SVG images (Tutorials). Replace important content images such as the Denigma's Logo by an SVG wherever possible.

SVG-logo.svg

Categories: News, reST, Quest
Parent: Quests

Comment: Created entry.

See entry | Admin

Comment on This Data Unit