public void GlobalSetup() { _drawingBitmap = DrawingBitmapExtension.FromFile(_sourceBitmapPath); _bitmapSource = BitmapSourceExtension.FromFile(_sourceBitmapPath); _container = _drawingBitmap.ToImagePixelsContainer(); _imageSharp = ImageSharpBgr24Extension.FromFile(_sourceBitmapPath); }
public void GlobalSetup() { _imageSharp = ImageSharpBgr24Extension.FromFile(_sourceBitmapPath); _writeableBitmap = _imageSharp.ToWriteableBitmap(); _container = new ImagePixelsContainer(_imageSharp.Width, _imageSharp.Height); }
public void GlobalSetup() { _drawingBitmap = DrawingBitmapExtension.FromFile(_sourceBitmapPath); _writeableBitmap = _drawingBitmap.ToWriteableBitmap(); _container = new ImagePixelsContainer(_drawingBitmap.Width, _drawingBitmap.Height); }
public void GlobalSetup() { _bitmapSource = BitmapSourceExtension.FromFile(_sourceBitmapPath); _writeableBitmap = _bitmapSource.ToWriteableBitmap(); _container = new ImagePixelsContainer(_bitmapSource.PixelWidth, _bitmapSource.PixelHeight); }