how to read a pdf file and convert to image file ?
102 次查看(过去 30 天)
显示 更早的评论
i want read a pdf file using matlab and want to convert it to image file(jpeg)
can i use open(filename)for opening and saveas for converting pdf to image
0 个评论
回答(2 个)
Stefanie Schwarz
2021-1-5
There is a way to import a PDF as image in MATLAB by making use of the Apache PDFBox library that we ship. Please see the following post for the code:
0 个评论
Stephen23
2015-2-26
You might like to read this:
2 个评论
Massimo Ciacci
2020-3-12
编辑:Massimo Ciacci
2020-3-12
I'm also searching for this since an hour now. So far I cound not find any solution to this. The link suggested above is a dead end, even 5 years later.
I considered ImageMagick command line but I could not even get that one to work, I'm a noob when it comes to mingw and cygwin...
Stephen23
2020-3-13
编辑:Stephen23
2020-3-14
"So far I cound not find any solution to this."
There is no general solution to extracting data from a PDF. The link clearly explains why.
"The link suggested above is a dead end, even 5 years later."
In fact using PDFs is a dead-end. They are not a data-exchange format. You might have some luck with OCR.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!