/* ----------------------------------------------------------------- */ /// /// ToBitmapImage /// /// <summary> /// Converts to the BitmapImage object. /// </summary> /// /// <param name="src">Image object.</param> /// /// <returns>BitmapImage object.</returns> /// /* ----------------------------------------------------------------- */ public static BitmapImage ToBitmapImage(this Source src) => src.ToBitmapImage(false);