Click here to Skip to main content
15,905,322 members
Home / Discussions / C#
   

C#

 
AnswerRe: Pop up window (like skype) PinPopular
Manfred Rudolf Bihy22-Nov-10 2:20
professionalManfred Rudolf Bihy22-Nov-10 2:20 
Questionhow to use .m file in C# Pin
Darko Nikolovski21-Nov-10 22:54
Darko Nikolovski21-Nov-10 22:54 
AnswerRe: how to use .m file in C# Pin
Niladri_Biswas22-Nov-10 2:53
Niladri_Biswas22-Nov-10 2:53 
QuestionImage minus image Pin
pancakeleh21-Nov-10 14:59
pancakeleh21-Nov-10 14:59 
AnswerRe: Image minus image Pin
Manfred Rudolf Bihy21-Nov-10 15:12
professionalManfred Rudolf Bihy21-Nov-10 15:12 
GeneralRe: Image minus image Pin
pancakeleh21-Nov-10 15:20
pancakeleh21-Nov-10 15:20 
GeneralRe: Image minus image Pin
JF201521-Nov-10 18:28
JF201521-Nov-10 18:28 
GeneralRe: Image minus image Pin
pancakeleh21-Nov-10 18:42
pancakeleh21-Nov-10 18:42 
GeneralRe: Image minus image PinPopular
JF201521-Nov-10 18:45
JF201521-Nov-10 18:45 
GeneralRe: Image minus image Pin
Alan Balkany23-Nov-10 3:51
Alan Balkany23-Nov-10 3:51 
QuestionCreate installers dynamically Pin
Jacob D Dixon21-Nov-10 7:05
Jacob D Dixon21-Nov-10 7:05 
AnswerRe: Create installers dynamically [modified] Pin
Richard Andrew x6421-Nov-10 10:12
professionalRichard Andrew x6421-Nov-10 10:12 
GeneralvRe: Create installers dynamically [modified] Pin
Jacob D Dixon21-Nov-10 12:23
Jacob D Dixon21-Nov-10 12:23 
GeneralRe: vRe: Create installers dynamically Pin
Not Active21-Nov-10 12:37
mentorNot Active21-Nov-10 12:37 
GeneralRe: vRe: Create installers dynamically Pin
Jacob D Dixon21-Nov-10 15:46
Jacob D Dixon21-Nov-10 15:46 
AnswerRe: Create installers dynamically Pin
Mirko198022-Nov-10 2:14
Mirko198022-Nov-10 2:14 
GeneralRe: Create installers dynamically [modified] Pin
Jacob D Dixon22-Nov-10 11:33
Jacob D Dixon22-Nov-10 11:33 
QuestionConverting an particular color in an image to another color Pin
pancakeleh21-Nov-10 4:41
pancakeleh21-Nov-10 4:41 
AnswerRe: Converting color in an image [modified] Pin
Manfred Rudolf Bihy21-Nov-10 4:50
professionalManfred Rudolf Bihy21-Nov-10 4:50 
AnswerRe: Converting color in an image Pin
Richard Andrew x6421-Nov-10 4:51
professionalRichard Andrew x6421-Nov-10 4:51 
AnswerRe: Converting an particular color in an image to another color Pin
pancakeleh21-Nov-10 5:15
pancakeleh21-Nov-10 5:15 
GeneralRe: Converting an particular color in an image to another color Pin
_Erik_22-Nov-10 6:13
_Erik_22-Nov-10 6:13 
If you used really gray scale images, I mean, with pixel format set to Format8bppIndexed, you might do most of these things just changing and playing with the palette. For example, for changing black pixels to white ones, assuming the black color is in the first position of the palette:

ColorPalette pal = bmp.Palette;
pal.Entries[0] = Color.White;
bmp.Palette = pal;


But it seems that you are using the default Format32bppArgb, so you will have to iterate over the pixels once and again. For the further processing you need, you will just have to discard the pixels which are too light or too dark, iterating over all of them again.
QuestionGot a 512 error on calling acmStreamOpen() in c# Pin
Alegria_Lee20-Nov-10 14:30
Alegria_Lee20-Nov-10 14:30 
AnswerRe: Got a 512 error on calling acmStreamOpen() in c# Pin
Luc Pattyn20-Nov-10 16:36
sitebuilderLuc Pattyn20-Nov-10 16:36 
AnswerRe: Got a 512 error on calling acmStreamOpen() in c# Pin
Bernhard Hiller21-Nov-10 23:00
Bernhard Hiller21-Nov-10 23:00 

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.