I've used this lib, should have come with some GDI+ code and
maybe some code
for converting from a dib to an image stream, if not let me
know and I'll
send it.
Example:
IntPtr bmpptr = Gdip.GlobalLock(dibReturnedFromScan);
Bitmap b = DibToImage.WithStream(bmpptr);
Gdip.GlobalFree(bmpptr);
From there you can use the Bitmap object however you need,
with an image
control or whatever supports ImageStream based objects.
HTH,
J.P.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://gr
oups-beta.google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---
|