/// <summary> /// Takes the picture from the given camera /// </summary> /// <param name="camera"></param> /// <param name="cameras"></param> public void TakePicture(Camera camera, Cameras cameras) { int jpegCompressionRate = 20; string saveToPath = GetImageSavePath(camera); cameras.Get(camera.CameraName) .SavePicture(new PictureSize(camera.PictureWidth , camera.PictureHeight) , saveToPath , jpegCompressionRate); }
/// <summary> /// Takes the picture from the given camera /// </summary> /// <param name="camera"></param> /// <param name="cameras"></param> public void TakePicture(Camera camera, Cameras cameras) { int jpegCompressionRate = 20; string saveToPath = GetImageSavePath(camera); cameras.Get(camera.CameraName) .SavePicture(new PictureSize(camera.PictureWidth , camera.PictureHeight) , saveToPath , jpegCompressionRate); }