Cuting out a part of a bitmap
-
I have looked through the System.Drawing namespace in search for a method that takes a part of a bitmap. But I can't seem to find any. Grateful for any help offered
- Create a new bitmap the size of the area you want to cut out 2) Make a Graphics for that bitmap 3) Use DrawImage to draw the image at the correct location
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi -
- Create a new bitmap the size of the area you want to cut out 2) Make a Graphics for that bitmap 3) Use DrawImage to draw the image at the correct location
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma GandhiActually I personally think it would be faster to use the close method and let the CLR amanage creating the new image for yoiu which would be inherently faster. Although I'm a direct3D programmer so the speed would only be noticed by me. nick I'm not an expert yet, but I play one at work. Yeah and here too.
-
Actually I personally think it would be faster to use the close method and let the CLR amanage creating the new image for yoiu which would be inherently faster. Although I'm a direct3D programmer so the speed would only be noticed by me. nick I'm not an expert yet, but I play one at work. Yeah and here too.