https://github.com/jmrozanec/pdf-converter
A Java library to convert .pdf files into .epub, .txt, .png, .jpg, .zip formats.
https://github.com/jmrozanec/pdf-converter
epub hacktoberfest jpg pdf pdf-converter png zip
Last synced: 6 months ago
JSON representation
A Java library to convert .pdf files into .epub, .txt, .png, .jpg, .zip formats.
- Host: GitHub
- URL: https://github.com/jmrozanec/pdf-converter
- Owner: jmrozanec
- License: apache-2.0
- Created: 2017-02-10T13:59:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-03T18:42:47.000Z (about 1 year ago)
- Last Synced: 2025-03-27T21:11:20.315Z (7 months ago)
- Topics: epub, hacktoberfest, jpg, pdf, pdf-converter, png, zip
- Language: Java
- Size: 355 KB
- Stars: 211
- Watchers: 9
- Forks: 59
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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.[](https://gitter.im/pdf-converter/)
[](https://travis-ci.org/jmrozanec/pdf-converter)
[](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.
com.bit-scout
pdf-converter
1.0.2
**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**
```javaPdfConverter
.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!
[](https://flattr.com/submit/auto?user_id=jmrozanec&url=https://github.com/jmrozanec/pdf-converter)