Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please Can any 1 tell me,

How to Crop the image in wp7 through C#?I am using WritabelBitmap Class.And I want to Create Image Editor in wp7.So please give the solution....

I take 1 rectangle and the image should be cropped within that rectangle.If the size of rectangle changed the cropped area should be within than rectangle.............
Posted
Updated 19-Mar-13 6:21am
v2
Comments
Sergey Alexandrovich Kryukov 19-Mar-13 10:09am    
Please add the tag: "WPF"
—SA
Marco Bertschi 19-Mar-13 12:22pm    
I added the WPF tag
Sergey Alexandrovich Kryukov 19-Mar-13 10:14am    
Create a new WriteableBitmap and copy a block from original bitmap to it...
—SA
Marco Bertschi 19-Mar-13 12:22pm    
Why don't you use Google?
http://msdn.microsoft.com/en-us/library/7wt4bf7h%28v=vs.80%29.aspx

cheers,
Marco Bertschi

After a quick Google search I found this one for you:
Cropping Images[^]. As stated above, use the Google search.

cheers,
Marco Bertschi
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900