[Demo] Exporting HTML containing embedded images

Demos, code samples. Only questions related to the existing topics are allowed here.
Post Reply
Sergey Tkachenko
Site Admin
Posts: 13391
Joined: Sat Aug 27, 2005 10:28 am
Contact:

[Demo] Exporting HTML containing embedded images

Post by Sergey Tkachenko » Thu Feb 04, 2016 8:40 pm

This demo saves HTML files containing images embedded directly inside <img src>, without external image files.

http://www.trichview.com/support/files/imagesinhtml.zip

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). It uses base64 encoding procedures included in Delphi library.

Info: see https://en.wikipedia.org/wiki/Data_URI_scheme

Sergey Tkachenko
Site Admin
Posts: 13391
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Wed Aug 03, 2016 2:04 pm

We implemented a support for images embedded in HTML in TRvHtmlImporter and TRvHtmlViewImporter.
This update is available for registered users.

Sergey Tkachenko
Site Admin
Posts: 13391
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Fri Aug 05, 2016 2:35 pm

This feature of importers is now available in the trial version as well.

rafakwolf
Posts: 30
Joined: Tue Sep 27, 2011 11:39 am

Post by rafakwolf » Tue Jan 03, 2017 5:05 pm

Hello...

Now is possible to import embedded images ?

Sergey Tkachenko
Site Admin
Posts: 13391
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Wed Jan 04, 2017 12:48 pm

Both RvHtmlImporter and RvHtmlViewImporter components support it.

If you use Delphi XE7 or newer, it works automatically.
If you use Delphi XE6 or older:
- download and unpack DIMime http://www.yunqa.de/delphi/products/mime/index
- for RvHtmlImporter: remove dot from {.$DEFINE RVUSEDMIME} in rvhtmlimport.pas
- for RvHtmlViewImporter: remove dot from {.$DEFINE RVUSEDMIME} in rvHtmlViewImport.pas

Lana
Posts: 1
Joined: Thu Jun 29, 2017 1:03 pm
Contact:

Re: [Demo] Exporting HTML containing embedded images

Post by Lana » Thu Jun 29, 2017 1:08 pm

Is that feature accessible now?


Post Reply