Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

After editing an image, I get the image data from the editor (which I was previously doing with 

GetImageDataUrlAsync and converting that to base64 string and then to a byte[]) so I can save it.

After updating from to 23.2.7 to 24.1.46, GetImageDataUrlAsync throws a null object reference. I tried

GetImageDataAsync instead but that throws the same error:

Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]

      Unhandled exception rendering component: Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.

   at Syncfusion.Blazor.ImageEditor.SfImageEditor.GetImageDataAsync()

   at PyramedAnywhere.UI.Pages.ImageIndexing.ImageViewer.ToolbarItemClicked(ClickEventArgs args) in D:\dev\P5\src\PyramedAnywhere.UI\Pages\ImageIndexing\ImageViewer.razor:line 232

   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)

   at Syncfusion.Blazor.ImageEditor.SfImageEditor.ToolbarClicked(ClickEventArgs args)

   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)

   at Syncfusion.Blazor.Internal.SfBaseUtils.d__12`1[[Syncfusion.Blazor.Navigations.ClickEventArgs, Syncfusion.Blazor.Navigations, Version=24.1.46.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89]].MoveNext()

   at Syncfusion.Blazor.Navigations.SfToolbar.TriggerClickEvent(MouseEventArgs e, Nullable`1 trgParentDataIndex, ItemModel clickedItem)

   at Syncfusion.Blazor.Navigations.Internal.ToolbarContent.OnItemClick(MouseEventArgs e)

   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)

   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)