In WinForms, I can dispose of an image like this
pictureBox1.Image.Dispose();
I know that Picturebox.Image control in WinForms is Image.Source in WPF. But there is no dispose() method in Image.Source.
I also see this link.
But why is it so complicated compared to WinForms?
Is there any equivalent method in WPF?