View Single Post
Old 01-05-2011, 04:49 PM   #1
tetra
Member
tetra doesn't littertetra doesn't litter
 
Posts: 17
Karma: 172
Join Date: Dec 2010
Device: PRS-600
SCAN to EBOOK - Program to convert JPG to LRF and EPUB

Hello !

I'd like to share with you the program I made to convert my JPG files to LRF (Sony) ebooks.

This program takes a bunch of JPG pictures and create an LRF file with the following capabilities :
- 1 or 2 pages per image (can split image in two)
- If 2 pages per image mode, you can choose paper reading direction (Left to Right or Right to Left (Japanese reading)
- Auto crop to remove white space around the page
- Auto rotate if image will be better displayed in landscape mode
- Normalization
- Resize to eink screen resolution
- Reduce color to 16 greycale
- LRF creation, with an entry in the table of content for each subdirectory of pictures

This program can be downloaded here : http://scantoebook.vassaux.net
Installation is very easy : download ZIP file and uncompress where you want, copy your JPG pictures in "images" directory (with subdirectories if you want) and lanch the program.
You will be asked a few questions and the LRF file will be created. You can then upload it to the reader.

The program uses NetPBM, LRS2LRF and ImageMagick for some of the operations. Theses are included in the ZIP file, so it's ready to use.

I'll be happy if you can try this and tell me what you think about it !
Have a nice day, and Happy new year !!

Last edited by tetra; 02-10-2011 at 10:48 AM. Reason: Title change
tetra is offline   Reply With Quote