convert
convert copied to clipboard
base64 to pdf loss of information
When decoding a base64 through the website : https://www.base64decode.org I can see the all info, including fields added by a legal partner (right column in table below). When I display the same base64 within flutter_full_pdf_viewer, info is hidden.
It seems some information is lost in the decoding process, this is how the base64 is treated :
String normalized = base64.normalize(base64Raw);
Uint8List decodedBytes = base64Decode(normalized);
return await writeFile(decodedBytes);
Pdf is displayed within a FutureBuilder using :
PDFViewerScaffold(path: snapshot.data)
Thank you for this package and for any kind of support
solved it temporarily by opening the pdf with https://pub.dev/packages/open_file