Graphics Clipping in C#.net
-
Hi, I want to clip a specific portion of the bitmap, and want to display that clip at certain point on the form. Can any one help me? I am looking for a c#.net solution. Thank you
-
Hi, I want to clip a specific portion of the bitmap, and want to display that clip at certain point on the form. Can any one help me? I am looking for a c#.net solution. Thank you
Save the image in a buffer and then selecting the particular part using scan and bmdata u can make a region of the required portion then paint that region on the form...... Im doing the same type of thing just a rough idea abt it..... Im also searching out abt it........ Update it if u get the problem solve BEST OF LUCK
-
Save the image in a buffer and then selecting the particular part using scan and bmdata u can make a region of the required portion then paint that region on the form...... Im doing the same type of thing just a rough idea abt it..... Im also searching out abt it........ Update it if u get the problem solve BEST OF LUCK
Hi, Did try Clipping in c#.net library as Graphics g= CreateGraphics(); Rectangle clip_rect=new Rectangle(0,0,100,100); g.Clip=new Region(clip_rect); it can work?
-
Hi, Did try Clipping in c#.net library as Graphics g= CreateGraphics(); Rectangle clip_rect=new Rectangle(0,0,100,100); g.Clip=new Region(clip_rect); it can work?
No I dont think soo!!!!! It can only clip the image to be drawn in a particular rectangle but u cant select a particular portion in the image for doin soo u have to select pixels frm the image...using Bitmapdata and locking the bitmap.......Ya do read christian Gauss image processing articles U ll get to know lot abt image processing.... BEST OF LUCK