hai
how to crop an image in c#.net
Crop an image in c#.net
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Kirtan PatelRank #292 · 8.6K reputationPosted Mar 3, 2010, 5:12 PM EST
{
Bitmap bmpImage = new Bitmap(img);
Bitmap bmpCrop = bmpImage.Clone(cropArea,
bmpImage.PixelFormat);
return (Image)(bmpCrop);
}
JAMAL KAMIS4 reputationPosted Dec 22, 2010, 3:26 PM EST
how its works in the first place
FroglegRank #1,020 · 1.9K reputationPosted Dec 23, 2010, 9:28 AM EST
Sam HobbsRank #107 · 20.5K reputationPosted Dec 23, 2010, 4:42 PM EST
It is excellent that you searched for previous answers. Thank you for doing that. Please continue doing that for questions you have in the future. If however you have a question about a previous answer, it is usually best to create a new thread.