user951144
user951144

Reputation:

Save HTTP jpeg image on computer using Delphi Prism?

I have a script written using Delphi Prism to extract specific images on webpages.

I got up to the part where i can show the image in PictureBox by simply placing the url in PictureBox.ImageLocation

How can I save this image to somewhere on my computer?

many thanks

Upvotes: 0

Views: 164

Answers (1)

David Heffernan
David Heffernan

Reputation: 612954

Use the DownloadFile method from System.Net.WebClient.

Upvotes: 1

Related Questions