Click here to Skip to main content
16,010,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: Data Grid View Row delete Pin
Not Active23-Dec-08 5:41
mentorNot Active23-Dec-08 5:41 
GeneralRe: Data Grid View Row delete Pin
nelsonpaixao23-Dec-08 5:47
nelsonpaixao23-Dec-08 5:47 
GeneralRe: Data Grid View Row delete Pin
nelsonpaixao23-Dec-08 5:57
nelsonpaixao23-Dec-08 5:57 
QuestionCompare two png images Pin
Joplinazz23-Dec-08 5:18
Joplinazz23-Dec-08 5:18 
AnswerRe: Compare two png images Pin
Giorgi Dalakishvili23-Dec-08 5:30
mentorGiorgi Dalakishvili23-Dec-08 5:30 
GeneralRe: Compare two png images Pin
Joplinazz23-Dec-08 5:59
Joplinazz23-Dec-08 5:59 
GeneralRe: Compare two png images Pin
Giorgi Dalakishvili23-Dec-08 6:09
mentorGiorgi Dalakishvili23-Dec-08 6:09 
AnswerRe: Compare two png images Pin
#realJSOP23-Dec-08 5:43
professional#realJSOP23-Dec-08 5:43 
I would probably try it this way first:

1) Make both images the same size. I would probably shrink the larger of the two. You could probably deduce that if the images don't have the same size ratio, then they aren't the same, thus possibly short-cutting this step.

2) Convert both images to 8 bit color, and change resulting black pixels to some other 8-bit color.

3) Combine both images into a single image by or'ing the colors for each pixel position. If the pixel has the same color value for both images, change it to black.

4) See what percentage of of pixels are not black, and set some sort of percentage threshold for determining equality.

I am NOT a graphics guy, so someone else may be able to suggest a better solution. If nothing else, it would be a fun programming exercise.


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


GeneralRe: Compare two png images Pin
Joplinazz23-Dec-08 6:00
Joplinazz23-Dec-08 6:00 
GeneralRe: Compare two png images Pin
#realJSOP24-Dec-08 1:36
professional#realJSOP24-Dec-08 1:36 
AnswerRe: Compare two png images Pin
Luc Pattyn23-Dec-08 6:21
sitebuilderLuc Pattyn23-Dec-08 6:21 
Questionget url from IE and Firefox Pin
Kim061823-Dec-08 5:12
Kim061823-Dec-08 5:12 
AnswerRe: get url from IE and Firefox Pin
Giorgi Dalakishvili23-Dec-08 5:32
mentorGiorgi Dalakishvili23-Dec-08 5:32 
Questionlaunch new process Pin
jas0n2323-Dec-08 2:41
jas0n2323-Dec-08 2:41 
AnswerRe: launch new process Pin
EliottA23-Dec-08 2:57
EliottA23-Dec-08 2:57 
AnswerRe: launch new process Pin
Giorgi Dalakishvili23-Dec-08 3:03
mentorGiorgi Dalakishvili23-Dec-08 3:03 
QuestionLaunch WSH (*.js or *.vbs) file from C# Application. Pin
jas0n2323-Dec-08 2:26
jas0n2323-Dec-08 2:26 
AnswerRe: Launch WSH (*.js or *.vbs) file from C# Application. Pin
Giorgi Dalakishvili23-Dec-08 2:34
mentorGiorgi Dalakishvili23-Dec-08 2:34 
AnswerRe: Launch WSH (*.js or *.vbs) file from C# Application. Pin
jas0n2323-Dec-08 3:08
jas0n2323-Dec-08 3:08 
GeneralRe: Launch WSH (*.js or *.vbs) file from C# Application. Pin
Giorgi Dalakishvili23-Dec-08 3:14
mentorGiorgi Dalakishvili23-Dec-08 3:14 
Questionsend a file through Http server Pin
George_George23-Dec-08 1:36
George_George23-Dec-08 1:36 
Questionsave a file as .csv formate Pin
MS Lee23-Dec-08 0:16
MS Lee23-Dec-08 0:16 
AnswerRe: save a file as .csv formate Pin
Colin Angus Mackay23-Dec-08 0:23
Colin Angus Mackay23-Dec-08 0:23 
GeneralRe: save a file as .csv formate Pin
MS Lee23-Dec-08 0:56
MS Lee23-Dec-08 0:56 
GeneralRe: save a file as .csv formate Pin
Colin Angus Mackay23-Dec-08 1:04
Colin Angus Mackay23-Dec-08 1:04 

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.