[Demo] Exporting HTML containing embedded images
Posted: Thu Feb 04, 2016 8:40 pm
Note (2023-02-21): since TRichView 21, this is a built-in feature, see viewtopic.php?p=42283#p42283
This demo saves HTML files containing images embedded directly inside <img src>, without external image files. There are two versions of this demo.
The first demo can be used in all versions of Delphi, it requires DIMime http://www.yunqa.de/delphi/products/mime/index
The second demo can be used in Delphi XE7 and newer (currently: XE7, XE8, 10 Seattle, 10.1 Berlin, 10.2 Tokyo). It uses base64 encoding procedures included in Delphi library.
Info: see https://en.wikipedia.org/wiki/Data_URI_scheme
This demo saves HTML files containing images embedded directly inside <img src>, without external image files. There are two versions of this demo.
The first demo can be used in all versions of Delphi, it requires DIMime http://www.yunqa.de/delphi/products/mime/index
The second demo can be used in Delphi XE7 and newer (currently: XE7, XE8, 10 Seattle, 10.1 Berlin, 10.2 Tokyo). It uses base64 encoding procedures included in Delphi library.
Info: see https://en.wikipedia.org/wiki/Data_URI_scheme