Can you load an image from a pointer?
Visual Basic
3
Posts
2
Posters
1
Views
1
Watching
-
If an ActiveX control returns a pointer to a TIFF image and the size of the image (both integers), can a VB.NET App load the image from memory? There's no such thing as a bad beer... some are just better than others.
If the pointer is the handle to a bitmap, you can use Image.FromHbitmap: intPtr = new IntPtr( pointer ) img = Image.FromHbitmap( intPtr )
-
If the pointer is the handle to a bitmap, you can use Image.FromHbitmap: intPtr = new IntPtr( pointer ) img = Image.FromHbitmap( intPtr )