Does Xamarin ImageEditor have swipe gesture ? To change between several images.
Regards
I have a need in my application to allow users to annotate images (basically drawing on top of an image to call attention to something in the image). I am accomplishing this now using SkiaSharp, however I am wondering if this is something that is possible or is on the roadmap for the ImageEditor control?
Thanks,
Greg
Hello,
I have this exception when running on iOS : System.EntryPointNotFoundException: 'sk_refcnt_safe_unref'
<bbddcb2c541b425685678410ffe54489>:0
at SkiaSharp.SKObject.DisposeNative () [0x0000a] in <bbddcb2c541b425685678410ffe54489>:0
at SkiaSharp.SKNativeObject.Dispose (System.Boolean disposing) [0x0002a] in <bbddcb2c541b425685678410ffe54489>:0
at SkiaSharp.SKObject.Dispose (System.Boolean disposing) [0x00000] in <bbddcb2c541b425685678410ffe54489>:0
at SkiaSharp.SKSurface.Dispose (System.Boolean disposing) [0x00000] in <bbddcb2c541b425685678410ffe54489>:0
at SkiaSharp.SKNativeObject.DisposeInternal () [0x00000] in <bbddcb2c541b425685678410ffe54489>:0
at SkiaSharp.SKNativeObject.Dispose () [0x00009] in <bbddcb2c541b425685678410ffe54489>:0
at SkiaSharp.Views.iOS.SKCanvasView.Draw (CoreGraphics.CGRect rect) [0x00094] in <b00521b27e7e4333aaef9a8d38e346f1>:0
at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.8.3.0/src/Xamarin.iOS/UIKit/UIApplication.cs:86
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.8.3.0/src/Xamarin.iOS/UIKit/UIApplication.cs:65
at Portwin.iOS.Application.Main (System.String[] args) [0x00001] in C:\PROJETS\XAMARIN\PORTWIN XAMARIN\Portwin\Portwin\Portwin.iOS\Main.cs:17
Actually i'm just trying to run this sample :
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:telerikImageEditor="clr-namespace:Telerik.XamarinForms.ImageEditor;assembly=Telerik.XamarinForms.ImageEditor"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Portwin.Tests.CurTestPage">
<ScrollView
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
>
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<telerikImageEditor:RadImageEditor x:Name="imageEditor" Padding="4" />
<telerikImageEditor:RadImageEditorToolbar Grid.Row="1" Padding="4" ImageEditor="{x:Reference imageEditor}" />
</Grid>
</ScrollView>
</ContentPage>
Xamarin.iOS : 13.8.3.0
Xamarin.Forms : 4.4.0.991640
Telerik : 2020.1.114.1
SkiaSharp : 1.68.1.1
Good Day
The imageEditor after loading the image , other Toolbar items work nicely but the cropping which put a cross on the centre of the image. crashes when you try to adjust the image with an error
Unhandled Exception:
System.ArgumentException: An item with the same key has already been added. Key: 0
Thanks