954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

image cropping using picturebox

how can i crop an image based on the size of my picturebox?

my picturebox's size mode is normal, i want to have for example, a 100 x 100 image using a 100 x 100 picture box, also i can drag the the image inside the picturebox so that i can have a focal point, a center of the image that i want to crop on.

thanks guys! itll be greatly appreciated.

kazekagerandy
Light Poster
45 posts since Feb 2011
Reputation Points: 10
Solved Threads: 0
 

Hi,

You can find an example, here.

Luc001
Posting Whiz
376 posts since Mar 2010
Reputation Points: 85
Solved Threads: 98
 

where is the solution there? im sorry i didnt get what they meant there..

kazekagerandy
Light Poster
45 posts since Feb 2011
Reputation Points: 10
Solved Threads: 0
 

I think what you need is to display the full image ( picturebox larger than 100x100 ) but then display a rectangle of size 100x100 on top of the picture and let the user drag this rectangle to specify the area to crop. Is that correct ?

Would it be ok to use a commercial .NET component rather than standard picturebox ?

JeffBennett
Newbie Poster
10 posts since Dec 2008
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: