Ejemplo n.º 1
0
 public ResizeImageCommand(IResizable customImage, int width, int height)
 {
     _customImage = customImage;
     _newImage    = _imageFunctions.ResizeImg(Image.FromFile(customImage.GetPath()), width, height);
     _newWidth    = width;
     _newHeight   = height;
     _prevImage   = customImage.Image;
     _prevHeight  = customImage.ImageResolution.Height;
     _prevWidth   = customImage.ImageResolution.Width;
 }