TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rajavasanth
NA
2
2k
Image control loaded tif file without quality DPI
Nov 26 2015 6:17 AM
As i load the tif file in image control ,the tif files shown blur,how to improve the quality(DPI) of tif file
source code:
private void RibbonButton_Click(object sender, RoutedEventArgs e)
{
Microsoft.Win32.OpenFileDialog dlg = new Microsoft.Win32.OpenFileDialog();
dlg.InitialDirectory = "c:\\";
dlg.Filter = "Image files (*.tif)|*.tif|All Files (*.*)|*.*";
dlg.RestoreDirectory = true;
bool? result = dlg.ShowDialog();
{
string selectedFileName = dlg.FileName;
FileNameLabel.Content = selectedFileName;
BitmapImage bitmap = new BitmapImage();
bitmap.BeginInit();
bitmap.UriSource = new Uri(selectedFileName);
bitmap.EndInit();
ImageViewer1.Source = bitmap;
}
}
Reply
Answers (
1
)
interface
How to change Property name in c#?