I must create application, where it can be to load some image, apply some filters, draw few lines and save it. And I must do it using WPF. How I can draw on Image control in WPF? Or another control is better for it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do this by adding InkCanvas to your page, add your image as Background Image of InkCanvas, and add save functionality.
Add “Save” button to your form and use following code to save it:
newImagePathis the path to new file;inkImageCanvasis your InkCanvas control.This will save content of your inkCanval to jpg file.