The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
MSMadhu Sudhanan P Syncfusion Team March 11, 2019 06:52 AM UTC
Hi Fabiano,
Thanks for contacting Syncfusion support.
The reported problem happens when the provided base64 string is not formatted properly or the given image is in format other than JPEG. To troubleshoot this problem, please share the base64 string or the original image to analyze at our end. Also please ensure whether imageHeader variable holds the encoded string value before sending
Regards,
Madhu Sudhanan P
FMFabiano MeloMarch 11, 2019 10:20 AM UTC
Hi, thanks for the feedback.
Attached is the image that my function turns into base64 and also a text file with the generated alphanumeric sequence.
MSMadhu Sudhanan P Syncfusion Team March 11, 2019 10:54 AM UTC
Hi Fabiano,
Thanks for the update.
When converting the image to data URI, the following string appended which is the cause of the problem. Before providing the encoded string to the PDF export, please strip of the above string as follows to resolve this problem.