创建使用mupdf库PDF的所有页面的图像 [英] Create image of all pages in pdf using mupdf library

查看:565
本文介绍了创建使用mupdf库PDF的所有页面的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用mupdf显示存储在我的Andr​​oid应用程序的本地存储库中的PDF文件。这是合作得非常好。现在,我要创建一个列表,其中显示打开的PDF文档中的所有页面的图像,每次将用户导航到特定页面图像上添加一个单击事件。为了实现这个工作,我想知道,有多少种方法我可以把PDF文档的每一页的图片在我的应用程序。

I am using mupdf to show pdf files stored in local repository of my android application. This is working quite well. Now i have to create a list that shows images of all pages of open pdf document and add a click event on every image that navigates the user to specific page. To work on this i want to know that in how many ways i can take a picture of every page of pdf document in my application.

我能做到这一点,直接在我的Andr​​oid应用程序中运行mupdf命令,或者我在mupdf.c文件的工作?请把你的意见在这里。任何形式的帮助是非常AP preciated。

Can i do this by running mupdf command directly in my android application or i have to work in mupdf.c file? Please put your views here. Any kind of help is highly appreciated.

推荐答案

我们有我们的Andr​​oid定制杂志的应用程序类似的功能,使用muPDF:它可以显示网页缩略图,当你点击一个缩略图,它带来你到相应的页面。 这个程序是在 Github上开源免费的。它应该是很容易的,你检讨code,看看我们如何实现这个功能。

We have a similar feature in our Android customizable magazine app, using muPDF: it is possible to display page thumbnails, and when you tap on a thumbnail, it brings you to the corresponding page. This app is open source and available on Github. It should be easy for you to review the code, and see how we implemented this feature.

这篇关于创建使用mupdf库PDF的所有页面的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆