How can i store a System.Windows.Controls.Image to disk say at location: C:\data\1.jpg
Thanks
How can i store a System.Windows.Controls.Image to disk say at location: C:\data\1.jpg Thanks
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.
Maybe try something along the lines of this method:
You might need to mess around with the sizes in RenderTargetBitmap to get what you want, but this should get the job done. You can use different encoders than just JpegBitmapEncoder too.