Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I import an image from a GdPicture object to a System.Drawing.Bitmap object within Visual Studio .NET (C# and VB.NET)?

0
Posted

How do I import an image from a GdPicture object to a System.Drawing.Bitmap object within Visual Studio .NET (C# and VB.NET)?

0

– With VB.NET: Dim MyImagingObject As New GdPicturePro5.cImaging MyImagingObject.CreateImageFromFile(“c:\test.jpg”) Dim MyPictureObject As System.Drawing.Bitmap = Bitmap.FromHbitmap(MyImagingObject.GetHBitmap) – With C#: GdPicturePro5.cImaging MyImagingObject = new GdPicturePro5.cImaging(); MyImagingObject.CreateImageFromFile(“c:\\test.jpg”); Bitmap MyBitmap = Bitmap.FromHbitmap((new IntPtr(MyImagingObject.GetHBitmap()))); Note: For .NET application development, it is highly recommended that you use one of the GdPicture.NET editions.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123