HTML to Image

Hi ,

I have a HTML code with tag img can I extract the image from the code. Is it possible.

Thanks & Regards
Vinaya

in general you can refer to the src attribute from the img tag and use it e.g. for downloading the file.

Maybe you can elaborate more on your case

Hi Peter,
Below is the HTML body I have, so basically I have have some data which has a image and text which I am reading as HTML and now I want to get that image from this HTML body

IMPORTANT: This e-mail, together with any attachments, is confidential. It may be read, copied and used only by the intended recipient. If you received this in error, please contact the sender and delete the material from all computers, without making any copies or disclosing it to any other person.

I have attached the txt file with HTML Body
HTML.txt (2.2 KB)

looks like an html email, where in general, when processed as email we can save the attachements. The nested attachment (the img) would be also saved.