TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Nihal Ahmed
1.6k
96
20.5k
Crop Image in C#
Dec 31 2013 5:35 AM
Hi,
I am working on image processing. I want to crop the image. I have written code like/*********
Bitmap bmp = image as Bitmap;
// Check if it is a bitmap:
if (bmp == null)
throw new ArgumentException(" image in null");
// Crop the image:
Bitmap cropBmp = bmp.Clone(selection, bmp.PixelFormat);
// Release the resources:
image.Dispose();
bmp.Dispose();
return cropBmp;
***********/
when i am run cropping, Its give the error : Out of Memory..Please help me.
Reply
Answers (
5
)
static class, static constructor and private constructor
What is the difference between access modifiers & specifier?