I am using the BitmapImage
to set the image source. I tried
https://learn.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/how-to-use-a-bitmapimage
this way to set the local folder image to BitmapImage source, but the image not loaded.
Anyone, please help me how to set the local folder images to an image source (I want this image "C:\Users\Name\Pictures\CusotmViewImage1.png
and tried
bitmap.UriSource = new Uri(@"C:\Users\santhiya.arulsamy\Pictures\CusotmViewImage1.png"
like this);