Cannot get ImageDataUrl from ImageEditor (bug in 25.1.35)

Hello,

we are using Blazor WASM and we just noticed that  ImageEditor.GetImageDataUrlAsync() is always returning null on 25.1.35.

var base64imageString = await ImageEditor.GetImageDataUrlAsync(); 

After debugging, we see that the problem is in the javascript:

Image_6705_1711620472181


Please investigate.


2 Replies

KV Keerthikaran Venkatachalam Syncfusion Team April 1, 2024 07:17 AM UTC

Hi Davy,


We have already logged the issue as “GetImageDataUrlAsync method is not working properly in ImageEditor while loading a hosted image". We will include the fix for this issue in the upcoming weekly patch release scheduled for this week.


You will be informed regarding this once the fix is published.


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”


Could you please confirm if you are using a hosted image in ImageEditor, or if you are using any other image, could you please share the image? Based on that, we will check and provide you with a better solution quickly.


Regards,

KeerthiKaran K V



KV Keerthikaran Venkatachalam Syncfusion Team April 2, 2024 11:30 AM UTC

Hi Davy,


We are glad to announce that our weekly patch release (25.1.38) has been rolled out. We have included the fix for this “GetImageDataUrlAsync method is not working properly in ImageEditor while loading a hosted image” issue in this release. So, we suggest you upgrade our Syncfusion packages to our latest version to resolve this issue on your end (25.1.38).


Root cause: The underlying reason for the problem is that the hosted image file type was converted into lowercase without checking whether it is null or not. This oversight led to errors or unexpected behavior when attempting to use a hosted image.


Package link: https://www.nuget.org/packages/Syncfusion.Blazor.ImageEditor


Get back to us if you need any further assistance on this.


Regards,

KeerthiKaran K V


Loader.
Up arrow icon