# Breaking Changes to the API

- BitmapSource is no longer a Property of IImage, and is now an extension that can be found in the ViDi.NET.UI assembly.

      //ViDi 3.3.
      using ViDi2;
      IIMage myImage = new FormsImage();
      var source = myImage.BitmapSource;

      //ViDi 3.4
      using ViDi2;
      using ViDi2.UI;
      IIMage myImage = new FormsImage();
      var source = myImage.BitmapSource();

- ViDI2.WPFImage is now in the ViDi.NET.UI assembly, ViDi2.UI namespace.
- Most of the API now uses ViDi Types instead of System.Windows.Media. This includes Point, Matrix, Size.