pdf-converter
===========
A Java library to convert .pdf files into .epub, .txt, .png, .jpg, .zip formats. The project follows the [Semantic Versioning Convention](http://semver.org/) and uses Apache 2.0 license.
[![Gitter Chat](http://img.shields.io/badge/chat-online-brightgreen.svg)](https://gitter.im/pdf-converter/)
[![Build Status](https://travis-ci.org/jmrozanec/pdf-converter.svg?branch=master)](https://travis-ci.org/jmrozanec/pdf-converter)
[![Coverage Status](https://coveralls.io/repos/github/jmrozanec/pdf-converter/badge.svg?branch=master)](https://coveralls.io/github/jmrozanec/pdf-converter?branch=master)
**Download**
pdf-converter is available on [Maven central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.bit-scout%22) repository.
<dependency>
<groupId>com.bit-scout</groupId>
<artifactId>pdf-converter</artifactId>
<version>1.0.2</version>
</dependency>
**Features**
Any .pdf file can be converted to the following formats:
* .epub: output file can either contain images of .pdf pages or their transcript.
* .txt: contains the transcript of the .pdf file
* .png: all pages converted to .png images
* .jpg: all pages converted to .jpg images
* .zip: contains images for all pages from the .pdf in the original resolution. Images can be either in .png or .jpg format.
**Example**
```java
PdfConverter
.convert(new File(mobydick.pdf))
.intoEpub("Moby Dick", new File("mobydick.epub"));
```
**Contribute & Support!**
Contributions are welcome! You can contribute by
* starring and/or Flattring this repo!
* requesting or adding new features.
* enhancing existing code: ex.: provide more accurate description cases
* testing
* enhancing documentation
* providing translations to support new locales
* bringing suggestions and reporting bugs
* spreading the word / telling us how you use it!
Support us donating once or by subscription through Flattr!
[![Flattr this!](https://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=jmrozanec&url=https://github.com/jmrozanec/pdf-converter)
没有合适的资源?快使用搜索试试~ 我知道了~
pdf-converter:一个Java库,可将.pdf文件转换为.epub,.txt,.png,.jpg,.zip格式
共24个文件
java:7个
xml:3个
css:2个
5星 · 超过95%的资源 需积分: 44 20 下载量 183 浏览量
2021-05-13
13:49:52
上传
评论 1
收藏 336KB ZIP 举报
温馨提示
pdf转换器 一个Java库,用于将.pdf文件转换为.epub,.txt,.png,.jpg,.zip格式。 该项目遵循并使用Apache 2.0许可证。 下载 pdf转换器在存储库中可用。 <dependency> <groupId>com.bit-scout</groupId> <artifactId>pdf-converter</artifactId> <version>1.0.2</version> </dependency> 特征 任何.pdf文件都可以转换为以下格式: .epub:输出文件可以包含.pdf页面的图像或其笔录。 .txt:包含.pdf文件的抄本 .png:所有页面都转换为.png图像 .jpg:所有页面都转换为.jpg图片 .zip:以原始分辨率包含.pdf中所有页面的图像。 图片可以是.png或.jpg格式。 例子
资源详情
资源评论
资源推荐
收起资源包目录
pdf-converter-master.zip (24个子文件)
pdf-converter-master
sonar-project.properties 574B
.github
workflows
codeql-analysis.yml 3KB
src
test
resources
mobydick.pdf 330KB
java
pdf
converter
PdfConverterTest.java 1KB
main
resources
epub
mimetype 20B
index.html 605B
toc.ncx 636B
content.opf 1KB
META-INF
container.xml 236B
titlepage.xhtml 489B
page_styles.css 58B
stylesheet.css 244B
logback.xml 1KB
java
pdf
converter
PdfConverter.java 3KB
img
ImgCreator.java 3KB
ImageFileExtension.java 77B
zip
ZipCreator.java 1KB
epub
EpubCreator.java 5KB
txt
TxtCreator.java 1KB
.travis.yml 2KB
LICENSE 11KB
README.md 2KB
pom.xml 12KB
.gitignore 60B
共 24 条
- 1
靳骁曈
- 粉丝: 23
- 资源: 4680
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论5