是否可以将PDF文档转换为IMAGE [英] Is it possible to convert PDF document to IMAGE
本文介绍了是否可以将PDF文档转换为IMAGE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,我正在寻找建议或想法,我需要在android上编辑pdf文件,我必须以程序方式实现所以有没有办法将整个pdf转换为图像,转换为我需要的图像编辑该图像并再次保存为pdf。
我尝试过:
我试图找到一些库只是为了将pdf转换为图像,但是没有免费的库。
解决方案
pdf框
检查@ Shubhashish_Mandal的答案,Apache PDFBox是OP需求的一个很好的解决方案。发布一些其他有用的替代方法:
如何在android中将pdf转换为图像?使用pdfbox获取错误导入java.awt和javax - Stack Overflow [ ^ ]
需要帮助将Pdf页面转换为Android Java中的位图 - Stack Overflow [ ^ ]
jPDFImages - 要转换PDF的Java PDF库/来自图像JPEG TIFF PNG [ ^ ]
参考吹制链接
C#.NET Tutoria l:如何将PDF转换为JPG / JPEG光栅图像文件 - pqScan.com [ ^ ]
Hi everyone, I'm looking for suggestions or ideas, I need to edit a pdf file on android and I have to implement programtaically so is there any way to convert entire pdf to image, after converting to the image I need to edit that image and save again as pdf.
What I have tried:
I have tried to find some libraries just to convert the pdf to image but there is no free library for that.
解决方案
pdf box
Check @Shubhashish_Mandal's answer, Apache PDFBox is a good solution for OP's need. Posting some other helpful alternative ways:
how to convert pdf to image in android ? using pdfbox getting error to import java.awt and javax - Stack Overflow[^]
Need help to convert a Pdf page into Bitmap in Android Java - Stack Overflow[^]
jPDFImages - Java PDF Library to Convert Extract PDF to / from Images JPEG TIFF PNG[^]
Refer the blow link
C#.NET Tutorial: How to Convert PDF to JPG/JPEG Raster Image File - pqScan.com[^]
这篇关于是否可以将PDF文档转换为IMAGE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文