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

C#

 
GeneralRe: Services, IPC, COM EXE Servers Pin
Xiangyang Liu 刘向阳15-Mar-05 0:47
Xiangyang Liu 刘向阳15-Mar-05 0:47 
GeneralInstaller:copying file in specified folder Pin
Adnan Siddiqi14-Mar-05 23:52
Adnan Siddiqi14-Mar-05 23:52 
GeneralRe: Installer:copying file in specified folder Pin
MoustafaS15-Mar-05 9:32
MoustafaS15-Mar-05 9:32 
GeneralRe: Installer:copying file in specified folder Pin
Adnan Siddiqi15-Mar-05 18:06
Adnan Siddiqi15-Mar-05 18:06 
General(Need Help) How to detect the lines from .BMP image into vector Graphics Pin
Kunwar Ashok Singh14-Mar-05 23:23
Kunwar Ashok Singh14-Mar-05 23:23 
General(null) is not a valid win32 app Pin
bwagz14-Mar-05 23:17
bwagz14-Mar-05 23:17 
Questionwhat is best approach for getting performance? Pin
montu337714-Mar-05 22:14
montu337714-Mar-05 22:14 
AnswerRe: what is best approach for getting performance? Pin
Robert Rohde14-Mar-05 23:06
Robert Rohde14-Mar-05 23:06 
Its a bit difficult to help you because you do not exactly explain what you do when grayscaling and contrasting. One hint I can give you is that you should avoid the usage of the Color structure. Both the creation (e.g.Color.FromArgb) and the use of its properties (R, G, B) are relatively heavy functions (at least when using them thousand or millions of times). In one of my projects with bitmap creation and colorcalcluations I could greatly improve perfomance by not using Color. This of course means that you will need to make some implemenations by yourself (e.g. a lightweight structure for exactly your purpose).

Also have a look at NProf. With this tool you can easily find what exactly takes so long in your calculations.
GeneralRe: what is best approach for getting performance? Pin
montu337715-Mar-05 0:06
montu337715-Mar-05 0:06 
GeneralRe: what is best approach for getting performance? Pin
Robert Rohde15-Mar-05 5:30
Robert Rohde15-Mar-05 5:30 
AnswerRe: what is best approach for getting performance? Pin
mav.northwind15-Mar-05 1:54
mav.northwind15-Mar-05 1:54 
GeneralRe: what is best approach for getting performance? Pin
montu337715-Mar-05 2:00
montu337715-Mar-05 2:00 
GeneralRe: what is best approach for getting performance? Pin
mav.northwind15-Mar-05 2:21
mav.northwind15-Mar-05 2:21 
GeneralRe: what is best approach for getting performance? Pin
montu337715-Mar-05 5:16
montu337715-Mar-05 5:16 
GeneralRe: what is best approach for getting performance? Pin
montu337715-Mar-05 8:56
montu337715-Mar-05 8:56 
GeneralRe: what is best approach for getting performance? Pin
mav.northwind15-Mar-05 20:30
mav.northwind15-Mar-05 20:30 
GeneralClosing the Child Window(popup window) Pin
Prabhakar.A14-Mar-05 19:52
Prabhakar.A14-Mar-05 19:52 
GeneralRe: Closing the Child Window(popup window) Pin
mav.northwind14-Mar-05 20:20
mav.northwind14-Mar-05 20:20 
GeneralRe: Closing the Child Window(popup window) Pin
MoustafaS15-Mar-05 9:34
MoustafaS15-Mar-05 9:34 
GeneralSync scrolling Pin
frankDust14-Mar-05 18:09
frankDust14-Mar-05 18:09 
Generaldatalist, dataset, and xml paging HELP Pin
jt hope14-Mar-05 17:52
jt hope14-Mar-05 17:52 
GeneralRe: datalist, dataset, and xml paging HELP Pin
jt hope14-Mar-05 17:54
jt hope14-Mar-05 17:54 
GeneralFind Selected row in Datagrid Pin
joy_priyank14-Mar-05 17:35
joy_priyank14-Mar-05 17:35 
GeneralRe: Find Selected row in Datagrid Pin
NickyWang14-Mar-05 21:03
NickyWang14-Mar-05 21:03 
GeneralRe: Find Selected row in Datagrid Pin
joy_priyank15-Mar-05 0:03
joy_priyank15-Mar-05 0:03 

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.