This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, March 3, 2009 10:24:19 AM(UTC)
Groups: Registered
Posts: 1
Hello,
I am using the VBImageProcessingDemo-- I want to save a bitmap image (to imagechanged.bmp) every time I apply an effect to the original image (uri source - imageoriginal.bmp) and then copy imagechanged.bmp to imageoriginal.bmp. How do I close the imageoriginal.bmp source?
Thank You
#2
Posted
:
Wednesday, March 4, 2009 4:33:33 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Please try the following code:
+-------+
BitmapImage bi = new BitmapImage();
bi.BeginInit();
bi.UriSource = new Uri(dlg.FileName, UriKind.RelativeOrAbsolute);
bi.CacheOption = BitmapCacheOption.OnLoad;
bi.EndInit();
Viewer.Source = bi;
+-------+
Thanks,
Maen Badwan
LEADTOOLS Technical Support
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.