Как я могу создать BitmapSource d, который является содержимым BitmapSource s, повернутым на любой угол a?RotateTransform не подходит, поскольку он ограничен углами, кратными только 90 градусам.
EDIT: демонстрация ограничения RotateTransform:
// Create the TransformedBitmap to use as the Image source.
TransformedBitmap tb = new TransformedBitmap();
// Create the source to use as the tb source.
BitmapImage bi = (BitmapImage)capture;
// Properties must be set between BeginInit and EndInit calls.
tb.BeginInit();
tb.Source = bi;
// Set image rotation.
var transform = new System.Windows.Media.RotateTransform(angle:30);
tb.Transform = transform;
tb.EndInit(); // "Transform must be a combination of scales, flips, and 90 degree rotations"