Click here to Skip to main content
15,915,164 members
Home / Discussions / C#
   

C#

 
GeneralRe: face recognition Pin
maf3os26-Jan-06 3:52
maf3os26-Jan-06 3:52 
GeneralRe: face recognition Pin
Le centriste26-Jan-06 3:57
Le centriste26-Jan-06 3:57 
GeneralRe: face recognition Pin
maf3os26-Jan-06 14:18
maf3os26-Jan-06 14:18 
QuestionIterate through object properties Pin
Leo Smith25-Jan-06 11:39
Leo Smith25-Jan-06 11:39 
AnswerRe: Iterate through object properties Pin
[Marc]25-Jan-06 12:15
[Marc]25-Jan-06 12:15 
GeneralRe: Iterate through object properties Pin
Leo Smith25-Jan-06 15:51
Leo Smith25-Jan-06 15:51 
QuestionGraphics.DrawImage - why it's so slow? Pin
Libor Tinka25-Jan-06 11:26
Libor Tinka25-Jan-06 11:26 
AnswerRe: Graphics.DrawImage - why it's so slow? Pin
[Marc]25-Jan-06 12:13
[Marc]25-Jan-06 12:13 
Here are some possible suggestions i've encountered with similar Stuff:

- Is the OnPaint method called very often? (stupid thing i once did number 1 Roll eyes | :rolleyes: )

- Try using a label instead of a panel. A label is double-buffered (if i remember right) and a panle isn't. Better yet, make your own custom control with the styles DoubleBuffer, AllPaintingInWmPaint and UserPaint on.

- Make sure the source rectangle and the destination rectangle are the same width and height, so the GDI doesn't have to schale the screen image.

- It can also be a problem as a result of the big image (i think 7 MB is a lot). If it's possible, try drawing a bitmap with a pixel format of Format32bppPArgb, it is said to be the fastest.

I hope this helps!


"..Commit yourself to quality from day one..it's better to do nothing at all than to do something badly.."
-- Mark McCormick

|| Fold With Us! || Pensieve || VG.Net ||

AnswerRe: Graphics.DrawImage - why it's so slow? Pin
Dave Kreskowiak25-Jan-06 16:11
mveDave Kreskowiak25-Jan-06 16:11 
GeneralRe: Graphics.DrawImage - why it's so slow? Pin
Libor Tinka26-Jan-06 2:05
Libor Tinka26-Jan-06 2:05 
GeneralRe: Graphics.DrawImage - why it's so slow? Pin
Dan Neely26-Jan-06 3:34
Dan Neely26-Jan-06 3:34 
Questionrunning out of PTEs Pin
Mark Hahn CA25-Jan-06 9:14
Mark Hahn CA25-Jan-06 9:14 
AnswerRe: running out of PTEs Pin
Dave Kreskowiak25-Jan-06 15:59
mveDave Kreskowiak25-Jan-06 15:59 
GeneralRe: running out of PTEs Pin
Mark Hahn CA26-Jan-06 8:05
Mark Hahn CA26-Jan-06 8:05 
GeneralRe: running out of PTEs Pin
Dave Kreskowiak26-Jan-06 14:37
mveDave Kreskowiak26-Jan-06 14:37 
QuestionHow to get valid IPs from an IP Range? Pin
bigmacrox25-Jan-06 8:45
bigmacrox25-Jan-06 8:45 
AnswerRe: How to get valid IPs from an IP Range? Pin
tylerl25-Jan-06 9:05
tylerl25-Jan-06 9:05 
GeneralRe: How to get valid IPs from an IP Range? Pin
bigmacrox25-Jan-06 9:17
bigmacrox25-Jan-06 9:17 
GeneralRe: How to get valid IPs from an IP Range? Pin
Mike Dimmick25-Jan-06 10:42
Mike Dimmick25-Jan-06 10:42 
Questiontuples Pin
JoeSox25-Jan-06 7:17
JoeSox25-Jan-06 7:17 
AnswerRe: tuples Pin
User 665825-Jan-06 8:03
User 665825-Jan-06 8:03 
GeneralRe: tuples Pin
JoeSox25-Jan-06 8:10
JoeSox25-Jan-06 8:10 
GeneralRe: tuples Pin
User 665825-Jan-06 8:18
User 665825-Jan-06 8:18 
GeneralRe: tuples Pin
JoeSox25-Jan-06 8:28
JoeSox25-Jan-06 8:28 
AnswerRe: tuples Pin
Kevin McFarlane25-Jan-06 12:37
Kevin McFarlane25-Jan-06 12: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.