ist es möglich aus einem Webbrowser ein Bild als Gif zu speichern?
So dass es auch animiert ist.
Zurzeit mach ich das:
Code:
Bitmap bimg;
mshtml.IHTMLDocument2 doc = (mshtml.IHTMLDocument2)
wb.Document.DomDocument;
mshtml.IHTMLSelectionObject sobj = doc.selection;
mshtml.HTMLBody body = doc.body as mshtml.HTMLBody;
sobj.empty();
mshtml.IHTMLControlRange range = body.createControlRange() as
mshtml.IHTMLControlRange;
mshtml.IHTMLControlElement img = (mshtml.IHTMLControlElement)wb.Document.Images[count].DomElement;
range.add(img);
range.select();
range.execCommand("Copy", false, null);
bimg = new Bitmap(Clipboard.GetImage());
Gruß
.Tobias






