getting error in Image Croping function

Posted by A4u_6178 under C# on 8/5/2011 | Points: 10 | Views : 1347 | Status : [Member] | Replies : 2
Hello,
I am trying to call a static function cropImage here is how it looks..



  public static Image CropImage(Image img, Rectangle cropArea)
{
logic goes here..
}

I want to call this fuction to crop am image how can i do this,
When i tried like this

Rectangle objRect=new Rectangle(20,10,200,100);
static_className.CropImage(image,objRect);


I got an error saying invalid argument.

Thanks & Regards,


Responses

Posted by: Jayakumars on: 9/29/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi

try this

http://www.9lessons.info/2011/06/image-upload-and-cropping-with-php-and.html


Mark as Answer if its helpful to you

A4u_6178, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 9/29/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi
Please mark as answer if it helpful to you.

Mark as Answer if its helpful to you

A4u_6178, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response