public BitmapDataSource(IImagePointerDataSource dataSource, IBitmapFactory imageFactory) : base(dataSource) { this.CurrentValue = new Bitmap(dataSource.Width, dataSource.Height, System.Drawing.Imaging.PixelFormat.Format24bppRgb); this.size = new IntSize(this.CurrentValue.Width, this.CurrentValue.Height); this.imageFactory = imageFactory; }
public ImageDataSource(IImagePointerDataSource dataSource, IImageFactory imageFactory) : base(dataSource) { this.writeableBitmap = new WriteableBitmap(dataSource.Width, dataSource.Height, 96, 96, PixelFormats.Bgr24, null); this.CurrentValue = writeableBitmap; this.size = new IntSize(dataSource.Width, dataSource.Height); this.imageFactory = imageFactory; }
public TestableImageSource(IImagePointerDataSource dataSource, IBitmapFactory imageFactory) : base(dataSource, imageFactory) { }
public TestableImageSource(IImagePointerDataSource dataSource, IBitmapFactory imageFactory) : base(dataSource, imageFactory) { }