I have no idea how to cut a rectangle image from other big image.
Let’s say there is 300 x 600 image.png.
I want just to cut a rectangle with X: 10 Y 20 , with 200, height 100 and save it into other file.
How I can do it in C#?
Thanks!!!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check out the Graphics Class on MSDN.
Here’s an example that will point you in the right direction (notice the
Rectangleobject):