https://github.com/fabien-michel/scan2ebook
Process scanned JPGs and output PDF for ebook reader
https://github.com/fabien-michel/scan2ebook
ebook-generator
Last synced: about 2 months ago
JSON representation
Process scanned JPGs and output PDF for ebook reader
- Host: GitHub
- URL: https://github.com/fabien-michel/scan2ebook
- Owner: fabien-michel
- Created: 2017-04-18T13:03:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-15T20:24:50.000Z (about 8 years ago)
- Last Synced: 2025-02-04T22:20:07.170Z (4 months ago)
- Topics: ebook-generator
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scan2ebook
Process scanned JPGs and output PDF for ebook reader## Requirements
* Python 3.5
* imagemagick 6
## Usage1. Scan a book to a set of JPGs
2. Put images into a subfolder in "sources" Folder. eg: sources/My book/page_###.jpg
3. Fill line in library.csv with name "My book" and set up needed options
4. run scan2ebook.py## Book processing options
### name
Required. Name of the book### path
Optional. Indicate folder containing image. The default is to search for the book name folder intou sources folder
scan2ebook will fail if no valid path found### cut_x, cut_y
Optional. Crop the image at indicated pixels (default to no crop)### rotate
Optional. Rotate image by indicated degrees (default 0)### flip_alternatively
Optional. Rotate 180° one page on two starting at indicated value. (default to not perform)### quality
Optional. The image output quality (default 40)### grayscale
Optional. If true, output in grayscale (default False)