如题所示,实现了选取本地图片,裁剪图片为圆形,当作用户头像的几个功能
思路来自于
https://blog.csdn.net/lindexi_gd/article/details/49757187
https://blog.csdn.net/github_36704374/article/details/60334156
这两位大大的文章,十分感谢指导
简单说一下吧,界面就是一个头像,一个选择图片的按钮
<Page
x:Class="xxx"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:xxx"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid.RowDefinitions>
<RowDefinition Height=&#