PictureBox
-
Hi I am doing some image processing stuff with the help of Christian Graus articles available here. But he has performed all the image processing stuff directly on the form. Whereas i want to use picture box. And i have tried several ways but its not working. Can any one help me out with any example of his Image Processing application over the picture box. Thank You James
-
Hi I am doing some image processing stuff with the help of Christian Graus articles available here. But he has performed all the image processing stuff directly on the form. Whereas i want to use picture box. And i have tried several ways but its not working. Can any one help me out with any example of his Image Processing application over the picture box. Thank You James
james_dixon_2008 wrote:
its not working
that does not tell us anything. I don't think a PictureBox is a very useful Control, it gives more trouble than it is worth. I'd rather load and paint my Image myself, painting it either onto the Form or a simple Panel. In both cases all painting must be handled by the Paint handler. Whatever you do, for image processing, the first step is to perform the processing, the second is to redraw it, either by telling the PictureBox to reload its Image (I guess by reassigning its Image property), or the Form/Panel to redraw itself (by issuing an Invalidate). :)
Luc Pattyn [Forum Guidelines] [My Articles]
This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.