Hi Rainer,
Thank you for your interest in Essential HTMLUI.
In the 4.2.0.37 version of Syncfusion Essential Studio, we can easily load an image in the HTMLUI control from stream to the IMGElementImpl object. Please refer the following code snippet.
[C#]
using System.IO;
using Syncfusion.Windows.Forms.HTMLUI;
Assembly assembly = Assembly.GetExecutingAssembly();
Stream imageStream = assembly.GetManifestResourceStream("LoadImageFromResource.image.bmp");
IMGElementImpl img = this.htmluiControl1.Document.GetElementByUserId("img") as IMGElementImpl;
img.Image = Image.FromStream(imageStream) as Bitmap;
//The previous line can be replaced with the following commented statement.
//img.Image = Syncfusion.HTMLUI.Base.Utility.Utilities.ImageFromStream(imageStream);
Please refer the attached sample that uses the above mentioned steps to load an image from the stream in the HTMLUI control.
I have requested our developers to look in to the NoImage event failure. I will get back to you with the suggested fix at the earliest. Thank you for your extensive feedback.
Regards,
Nanda
ImageFromStream.zip