Transformation in Xamarin Image Editor (SfImageEditor)
8 Jan 20251 minute to read
The image editor control is capable of performing the image transformations such as rotation and flip.
Rotation
You can use the Rotate method of the image editor to rotate a image. For each rotation, image will be rotated to 90 degrees towards clockwise direction.
NOTE
Angle cannot be specified in code to alter the rotation angle of the image.
editor.Rotate();
Flip
The image editor control is capable of showing the mirror image. The Flip method flips the image horizontally or vertically based on the FlipDirection specified as argument of the flip method.
NOTE
The default flip direction is horizontal.
editor.Flip(FlipDirection.Horizontal);
See also
How to resolve image rotated when loading image / after saving image in iOS device