[docutils:feature-requests] #40 Option to embed images as data uri in rst2html

"Günter Milde" via Docutils-develop <[email protected]>
Newsgroups gmane.text.docutils.devel
Message-ID </p/docutils/feature-requests/40/aece155923de25846657ea86495a5559702c58f3.feature-requests@docutils.p.sourceforge.net>
- **status**: closed-fixed --> open
- **Comment**:

There is room for improvement:

* Embed SVG images directly, not as data URI .
   +1 Allows interactive SVG images (cf. [feature-requests:#100]).
   +1 Smaller image size.
* an option for the "image" directive overriding the configuration setting for individual images.
   +1 allows fine grained control (exclude large images, include just one image, ...).
   
Similar to the configuration setting, the directive option could also care for the 
"lazy loading" feature (cf. [feature-requests:#78]).
+1 fine grained control of lazy/eager image loading (eager loading of the images "above the fold", lazy lading of large images only, ...)
-1 While embedding/refering may become configurable for the XML and ODT writers some day, HTML5 is the only output format supporting "lazy loading". (OTOH, HTML5 is by far the most used output format...)





---

**[feature-requests:#40] Option to embed images as data uri in rst2html**

**Status:** open
**Group:** Default
**Labels:** rst2html 
**Created:** Wed Dec 03, 2014 09:43 PM UTC by Iiro Laiho
**Last Updated:** Sat Apr 03, 2021 05:11 PM UTC
**Owner:** nobody


It would be nice if rst2html had an option to embed images as base64 data uris in html files. Then you could make a single file html document that could be e.g. easily mailed as an attachment.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.