Page 1 of 1

Save image ?

Posted: Mon Feb 13, 2023 5:40 pm
by thefunkyjoint
Hello,

Is there a way to select and save a specific image on a page, programatically ?

Re: Save image ?

Posted: Mon Feb 13, 2023 6:41 pm
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.