المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Displaying 16 bit images



C# Programming
09-25-2009, 10:10 AM
Hi i'm using C# in visual estudio 2005, i need to open 16 bits png images, not raw images. i have a code in which one i can open a 8 bit image and i can get a pixel from that image. the code works, but what i need is to open a 16 bit images. i need your help. thankyou. some of the code i have is the next:

-------------------------------------------------------------------------------------------------------------------------
private void pictureBox_Click(object sender, System.EventArgs e)
{
int[] pos = new int[2];
pos = m_Coord.GetXY();

if (this.pictureBox.Image != null)
if ((pos[0]