There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Attempted to divide by Zero. Jpeg Encoder.
Hi, I'm trying to encode my canvas to a jpeg.
But i got an exception "Attempted to divide by Zero." when i call the Encode method of the jpegEncoder.
in my App.xaml.cs in Application_Startup.
How can I fix this? And is there a way to pass the image to a web service without writing it to client's local disc? Thank you.