VintaSoft Imaging .NET SDK and Plug-ins Discussions
Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.
Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions
so you are saying replace the picture box with the image viewer and show both types in the image viewer the image i upload and the image captured from the webcam?Yes, I think this is good way because Vintasoft.Imaging.UI.ImageViewer control has better functionality than System.Windows.Forms.PictureBox control.
How do i cast a regular image to a vintasoft image to put in the image viewer?You can create VintasoftImage object which contains the Bitmap object using the following code:
VintasoftImage image = Vintasoft.Imaging.VintasoftImageGdiExtensions.Create(bitmap, true);Boolean parameter in constructor of VintasoftImage class determines that Bitmap must be disposed when the VintasoftImage is disposed. You can set boolean parameter to False if Bitmap should not be destroyed when VintasoftImage will be destroyed.