Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Save image ?

Post Reply
thefunkyjoint
Posts: 460
Joined: Thu Aug 10, 2017 12:40 pm

Save image ?

Post by thefunkyjoint »

Hello,

Is there a way to select and save a specific image on a page, programatically ?
User avatar
salvadordf
Posts: 4056
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Save image ?

Post by salvadordf »

Hi,

Search the image in the DOM using JavaScript and send its URL to Delphi using a console message or using a JavaScript extension.
Then use TChromium.DownloadImage or TChromium.StartDownload to save it on disk.
Post Reply