Click here to Skip to main content
15,891,409 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to read and display image in c#?
Posted

Easy, just add a PictureBox control to your page:
C#
Image myImage = Image.FromFile(@"D:\Temp\myPic.jpg");
myPictureBox.Image = myImage;
 
Share this answer
 
Please refer below link for your solution

How to Load/Display images with C#[^]
 
Share this answer
 
The PictureBox solution is quite enough for simple application that only needs to display common image format such as JPEG or BMP.
If you need more advanced features or additional formats not supported by .NET itself, you'll need a third party library such as this:
http://www.leadtools.com/sdk/formats/image-formats.htm
 
Share this answer
 
v2
Comments
MuhtarQong 11-Jun-12 11:04am    
You can find some free imaging SDK with Google just using "free imaging sdk" keyword.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900