Click here to Skip to main content
16,005,178 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regular Expression Code for Syntax Highlighting Pin
mav.northwind21-Jun-05 20:32
mav.northwind21-Jun-05 20:32 
GeneralRe: Regular Expression Code for Syntax Highlighting Pin
C_Simpkins21-Jun-05 20:40
C_Simpkins21-Jun-05 20:40 
Questionit make a dll but how? Pin
Sasuko21-Jun-05 13:42
Sasuko21-Jun-05 13:42 
AnswerRe: it make a dll but how? Pin
Christian Graus21-Jun-05 13:54
protectorChristian Graus21-Jun-05 13:54 
Generalchanging pixels color Pin
sami_bio@yahoo.com21-Jun-05 11:40
sami_bio@yahoo.com21-Jun-05 11:40 
GeneralRe: changing pixels color Pin
Christian Graus21-Jun-05 13:38
protectorChristian Graus21-Jun-05 13:38 
GeneralRe: changing pixels color Pin
sami_bio@yahoo.com21-Jun-05 18:33
sami_bio@yahoo.com21-Jun-05 18:33 
GeneralRe: changing pixels color Pin
Christian Graus21-Jun-05 18:38
protectorChristian Graus21-Jun-05 18:38 
sami_bio@yahoo.com wrote:
Hi, thanks. But my target is to split some selected pixels from the image and put it in a new one, then, assigning a new color to them.

OK, so you need to take the portion of the image you want, and create a new one with those values. That's bog easy - you just create a new Image, and draw the part of the image you want from the old onto the new. The hard bit is if your desired area is not a rectangle, you'll get some bits you didn't want.


sami_bio@yahoo.com wrote:
i don't know how to assign a new pixel color, or how to split them.

What do you mean by split ? What is this application doing ? You can change the colour a number of ways.

1. SetPixel. This is slow
2. Draw onto the image. That's what the brushes and pens are for. Probably also too slow
3. Direct pixel access, which again means you should read my image processing articles.


Christian Graus - Microsoft MVP - C++
GeneralMaking Menu Selections through Program Pin
Abhishek Karnik21-Jun-05 10:00
Abhishek Karnik21-Jun-05 10:00 
GeneralRe: Making Menu Selections through Program Pin
Rob Tomson21-Jun-05 10:44
Rob Tomson21-Jun-05 10:44 
GeneralRe: Making Menu Selections through Program Pin
Abhishek Karnik21-Jun-05 11:03
Abhishek Karnik21-Jun-05 11:03 
GeneralRe: Making Menu Selections through Program Pin
g00fyman21-Jun-05 17:41
g00fyman21-Jun-05 17:41 
GeneralRe: Making Menu Selections through Program Pin
Abhishek Karnik22-Jun-05 4:05
Abhishek Karnik22-Jun-05 4:05 
GeneralRe: Making Menu Selections through Program Pin
Dave Kreskowiak22-Jun-05 5:06
mveDave Kreskowiak22-Jun-05 5:06 
GeneralAuto-magicly put files in correct folders Pin
Tridith21-Jun-05 9:35
Tridith21-Jun-05 9:35 
GeneralRe: Auto-magicly put files in correct folders Pin
Luis Alonso Ramos21-Jun-05 16:29
Luis Alonso Ramos21-Jun-05 16:29 
GeneralSystem.Web.Mail for error reporting Pin
Rob Tomson21-Jun-05 9:16
Rob Tomson21-Jun-05 9:16 
GeneralRe: System.Web.Mail for error reporting Pin
g00fyman21-Jun-05 17:46
g00fyman21-Jun-05 17:46 
GeneralRe: System.Web.Mail for error reporting Pin
Rob Tomson22-Jun-05 7:55
Rob Tomson22-Jun-05 7:55 
GeneralHelp me with my ListView Idea! Pin
Kasdoffe21-Jun-05 9:15
Kasdoffe21-Jun-05 9:15 
GeneralArray definition trouble... Pin
rcurrie21-Jun-05 9:05
rcurrie21-Jun-05 9:05 
GeneralRe: Array definition trouble... Pin
rcurrie21-Jun-05 9:09
rcurrie21-Jun-05 9:09 
GeneralRe: Array definition trouble... Pin
Robert Rohde21-Jun-05 11:17
Robert Rohde21-Jun-05 11:17 
GeneralRe: Array definition trouble... Pin
Anonymous22-Jun-05 13:55
Anonymous22-Jun-05 13:55 
Generalsmall problem Pin
snouto21-Jun-05 8:32
snouto21-Jun-05 8:32 

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.