Jump to content

convert pdf file to base64


joecool2005

Recommended Posts

Thanx for your answer.I want the user to browse the pdf file and click submit. Once it submited a function will encode to base64.Also I should able to decode the base64 to normal file.Well, I can do this within my application or callling an external program .As long as it does the job.Thx for your help!

Link to comment
Share on other sites

The process would roughly be the following:a) To encode the PDF1) Take the PDF content as bytes2) Run it through a program / method which goes something like:PDFInBase64Bytes = convertToBase64(PDFBytes)There seem to many free base64 libraries out there.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...