将pdf文件转换成图片并显示在界面,
先要引用AndroidPDFViewerLibrary-master
ByteBuffer buffer = ByteBuffer.NEW(bytes);
String data = Base64.encodeToString(bytes, Base64.DEFAULT);
PDFFile pdf_file = new PDFFile(buffer);
int numPages = pdf_file.getNumPages();
Log
相关下载链接:
//download.csdn.net/download/saintcs/10577283?utm_source=bbsseo