Java script code to convert base 64 to PDF document

Mbyllur Postuar 5 vite mё parё Paguhet në dorëzim
Mbyllur Paguhet në dorëzim

We need some give us javascript code convert base64 to pdf. attaching screenshot the content is showing.

This current code below it is converting but showing content null.

saveByteArray("Sample Report", byteArray);

function saveByteArray(reportName, byte) {

var blob = new Blob([byte], {type: "application/pdf"});

var link = [login to view URL]('a');

[login to view URL] = [login to view URL](blob);

var fileName = reportName;

[login to view URL] = fileName;

[login to view URL]();

};

HTML5 Java JavaScript PHP Arkitekturë softuerësh

ID Projekti: #19077495

Rreth projektit

5 propozimet Projekti në distancë Aktiv 4 vite mё parё

5 profesionistë freelancer dërguan një ofertë mesatare prej ₹1150 për këtë punë

tampan6689

Hi, can you send me your base64 source...? ?

₹1300 INR për 1 ditë
(3 Përshtypje)
3.7
newmanifold000

Hi, What you are doing here is just sending image file as PDF thats not going to convert base64 or any image file as PDF , thats why you see gibberish content, in order to convert base64 or any image to PDF you can us Më shumë

₹1050 INR për 1 ditë
(5 Përshtypje)
2.0
princepk1001

Hi, I have 4+ years of experience with spring, hibernate, spring boot, jpa, MySQL, oracle, restful web services , PostgreSQL, angular-6, html, java script, css. I am working as full stack developer. I have knowledge Më shumë

₹1000 INR për 1 ditë
(0 Përshtypje)
0.0