public static void ApplyCenterPictureModifications(Picture pic, InkCanvas canvas)
 {
     var rel = pic.Width/pic.Height;
     if (pic.Width >= pic.Height)
     {
         pic.Width = canvas.Width*2/3.5;
         pic.Height = pic.Width/rel;
     }
     else
     {
         pic.Height = canvas.Height*2/3;
         pic.Width = pic.Height*rel;
     }
     var position = canvas.CanvasCenterCoordinates(pic.Width, pic.Height);
     var shiftDown = canvas.Height/12;
     canvas.SetObjectPositionOnCanvas(pic, position.X, position.Y + shiftDown);
 }