private void Dispose(bool disposing) { if (!disposed) { if (disposing) { ImageToTransform?.Dispose(); TransformedImage?.Dispose(); } disposed = true; } }
public override Bitmap ApplyTransformation() { ImageToTransform.RotateFlip(RotateFlipType.Rotate270FlipNone); return(ImageToTransform.Clone(ResultArea, PixelFormat.Format32bppArgb)); }