This question shows research effort; it is useful and clear
6
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我想将 BitmapImage 垂直翻转为原始图像的镜像。这是我所拥有的,但它旋转不翻转图像。
var tb = new TransformedBitmap();
BitmapImage bi = Type.Image.Clone();
tb.BeginInit();
tb.Source = bi;
var transform = new RotateTransform(180);
tb.Transform = transform;
tb.EndInit();