-
Notifications
You must be signed in to change notification settings - Fork 981
Closed
Description
Issue to be solved: I'm concerned about the code the WPF control uses to convert System.Drawing.Bitmap (the output of ScottPlot) to a System.Windows.Media.Imaging.BitmapImage (which a WPF Image control displays).
Current Implementation
Concerns
- The MemoryStream is not properly disposed
- Should a single class-level memory stream be used (and reused?)
- The old
imagePlot.Sourceis not properly disposed - Is this function the best it can be otherwise, or is there a better way to do this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels