Hello!
Is there way to download an image by its URL and save it to local disk?
Thank you!!!
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.
How to download an image by URL
- salvadordf
- Posts: 4565
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to download an image by URL
The MiniBrowser demo shows you how to do that :
https://github.com/salvadordf/CEF4Delph ... .pas#L1295
Basically, call TChromium.DownloadImage to download the image and implement the TChromium.OnDownloadImageFinished event to get the image data.
https://github.com/salvadordf/CEF4Delph ... .pas#L1295
Basically, call TChromium.DownloadImage to download the image and implement the TChromium.OnDownloadImageFinished event to get the image data.