Closed MikeIsNotHere closed 5 months ago
I found the problem. This is the relevant part of my solution:
let base64ImageData = imageData.imageData.imageBase64;
// Check if the base64 string contains the data URL scheme and remove it
const base64DataPrefix = 'base64,';
const base64StartIndex = base64ImageData.indexOf(base64DataPrefix);
if (base64StartIndex !== -1) {
// Adjust the index to start after the comma
base64ImageData = base64ImageData.substring(base64StartIndex + base64DataPrefix.length);
}
Hey,
I am bulding something in ASP.NET core 7 and I have been trying to implement Filerobot Image Editor. I am having trouble the the GetImageData function. How do i access the imageBase64 property of imageData? This is my code, what am i doing wrong?