Click here to Skip to main content
15,886,199 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionfile uplode Pin
rvirat28-Mar-13 19:52
rvirat28-Mar-13 19:52 
AnswerRe: file uplode Pin
Sandeep Mewara28-Mar-13 20:04
mveSandeep Mewara28-Mar-13 20:04 
QuestionUsing Jquery in Update Panel IE Problem Pin
rbala00628-Mar-13 19:37
rbala00628-Mar-13 19:37 
AnswerRe: Using Jquery in Update Panel IE Problem Pin
Sandeep Mewara28-Mar-13 20:06
mveSandeep Mewara28-Mar-13 20:06 
AnswerRe: Using Jquery in Update Panel IE Problem Pin
jkirkerx29-Mar-13 10:30
professionaljkirkerx29-Mar-13 10:30 
Questionneed coding for my project Pin
rengaramu r28-Mar-13 8:43
rengaramu r28-Mar-13 8:43 
AnswerRe: need coding for my project Pin
Marco Bertschi28-Mar-13 9:06
protectorMarco Bertschi28-Mar-13 9:06 
GeneralRe: need coding for my project Pin
rengaramu r28-Mar-13 9:38
rengaramu r28-Mar-13 9:38 
i did comparison of two images by getting two images pixel and width,height and check comparison of two images width and height ,pixel if its same means images r identical else different here i'll attach my coding part so far what i did
private button1 click()
{
this.Cursor = Cursors.WaitCursor;
Application.DoEvents();

// Load the images.
using (Bitmap bm1 = new Bitmap(txtFile1.Text))
{
using (Bitmap bm2 = new Bitmap(txtFile2.Text))
{
// Make a difference image.
int wid = Math.Min(bm1.Width, bm2.Width);
int hgt = Math.Min(bm1.Height, bm2.Height);
Bitmap bm3 = new Bitmap(wid, hgt);

// Create the difference image.
bool are_identical = true;
Color eq_color = Color.White;
Color ne_color = Color.Red;
for (int x = 0; x < wid; x++)
{
for (int y = 0; y < hgt; y++)
{
if (bm1.GetPixel(x, y).Equals(bm2.GetPixel(x, y)))
{
bm3.SetPixel(x, y, eq_color);
}
else
{
bm3.SetPixel(x, y, ne_color);
are_identical = false;
}
}
}

// Display the result.
picResult.Image = bm3;

this.Cursor = Cursors.Default;
if ((bm1.Width != bm2.Width) || (bm1.Height != bm2.Height)) are_identical = false;
if (are_identical)
{
MessageBox.Show("The images are identical");
}
else
{
MessageBox.Show("The images are different");
}
}
}
//pictureBox1.Image = txtFile1.Text.ToString();
//pictureBox2.ImageLocation = new Bitmap(openFileDialog2.FileName);
}
but tis'nt enough for me to comparing images bcoz it's too simple
for my project i need complexity for my project to compring images if u knw help me
GeneralRe: need coding for my project Pin
Jasmine250128-Mar-13 12:58
Jasmine250128-Mar-13 12:58 
GeneralRe: need coding for my project Pin
rengaramu r28-Mar-13 17:28
rengaramu r28-Mar-13 17:28 
GeneralRe: need coding for my project Pin
Jasmine250129-Mar-13 6:09
Jasmine250129-Mar-13 6:09 
AnswerRe: need coding for my project Pin
jkirkerx28-Mar-13 10:09
professionaljkirkerx28-Mar-13 10:09 
QuestionDataTable: Query a programmatically generated DataTable Pin
Sumit Kathuria28-Mar-13 8:16
Sumit Kathuria28-Mar-13 8:16 
AnswerRe: DataTable: Query a programmatically generated DataTable Pin
David Mujica28-Mar-13 8:49
David Mujica28-Mar-13 8:49 
AnswerRe: DataTable: Query a programmatically generated DataTable Pin
mr.priyank29-Mar-13 4:26
mr.priyank29-Mar-13 4:26 
QuestionUsers can't get to my new web site Pin
Jim from Indy28-Mar-13 4:17
Jim from Indy28-Mar-13 4:17 
QuestionASP.net MVC 4 Panel visible true/false depends on the condition Pin
VishwaKL27-Mar-13 22:27
VishwaKL27-Mar-13 22:27 
AnswerRe: ASP.net MVC 4 Panel visible true/false depends on the condition Pin
Rohith Reddy Vadiyala28-Mar-13 21:16
Rohith Reddy Vadiyala28-Mar-13 21:16 
QuestionBest URL/File Structure Practices? Pin
Dralken27-Mar-13 19:28
Dralken27-Mar-13 19:28 
AnswerRe: Best URL/File Structure Practices? Pin
Marco Bertschi28-Mar-13 9:12
protectorMarco Bertschi28-Mar-13 9:12 
AnswerRe: Best URL/File Structure Practices? Pin
Marco Bertschi28-Mar-13 9:13
protectorMarco Bertschi28-Mar-13 9:13 
Questionmodalpopupextender with dynamic checkboxlist Pin
janetb9926-Mar-13 6:29
janetb9926-Mar-13 6:29 
AnswerRe: modalpopupextender with dynamic checkboxlist Pin
janetb993-Apr-13 5:39
janetb993-Apr-13 5:39 
Questionhow to get selected item text in razor dropdownlist. Pin
GuhananthS24-Mar-13 20:12
GuhananthS24-Mar-13 20:12 
AnswerRe: how to get selected item text in razor dropdownlist. Pin
mr.priyank29-Mar-13 4:37
mr.priyank29-Mar-13 4:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.