01-05-2011, 04:49 PM | #1 |
Member
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 |
01-09-2011, 06:29 AM | #2 |
Evangelist
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
|
Interesting program! thanks. I like it, but some images come out cut and with white edges.
|
Advert | |
|
01-09-2011, 05:57 PM | #3 |
Member
Posts: 17
Karma: 172
Join Date: Dec 2010
Device: PRS-600
|
Hello Surquizu,
Nice to hear you like it ! Yes, white borders are added to the picture to make sure it is at the exact resolution of the screen. That prevent any strecthing on the device. If the image is cutout, that may be a side effect of the auto-crop feature. It scans the border of the image and remove it until it considers the image is "worth keeping". If your picture border is very bright, it may cut a bit of it. It was designed with manga, comics and books in mind, not photos. Could you please post one of your picture (the original), maybe I can find a workaround, or maybe just add a question to desactivate autocrop is enough. This autocrop feature is the thing that made me develop this program, as I couldn't find any other program that can do it fine and create someting usable for ebook reading. |
01-09-2011, 08:37 PM | #4 | |
Evangelist
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
|
Quote:
|
|
01-10-2011, 01:25 PM | #5 |
Member
Posts: 17
Karma: 172
Join Date: Dec 2010
Device: PRS-600
|
Thanks for the picture Surquizu. I'll have a look at it.
|
Advert | |
|
01-12-2011, 03:10 PM | #6 |
Member
Posts: 17
Karma: 172
Join Date: Dec 2010
Device: PRS-600
|
Hello,
I updated the program files. You can now choose to desactivate auto-cropping, wich will be usefull for photos. When I'll have more time, I'll try to improve the border cropping to handle photos in addition to books/manga/comics. |
01-12-2011, 06:42 PM | #7 |
Evangelist
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
|
Thank you, now is perfect!
|
01-19-2011, 08:56 AM | #8 |
Enthusiast
Posts: 46
Karma: 66500
Join Date: Jan 2011
Device: kobo glo
|
it is a beautiful software. i like the good crop funtion. i see that it often crop the number of page. is it possible to extend the crop funtion for crop also the comic's title on the top or botton?
Last edited by sage79; 01-19-2011 at 08:58 AM. |
01-23-2011, 05:04 PM | #9 |
Member
Posts: 17
Karma: 172
Join Date: Dec 2010
Device: PRS-600
|
Hi sage79,
Sorry for ma late answer, I was quite busy. Yes, that's possible. If you have a sample picture you can post here, I can adapt the crop parameters. I may release another version soon which can output EPUB. |
01-24-2011, 04:55 AM | #10 |
Enthusiast
Posts: 46
Karma: 66500
Join Date: Jan 2011
Device: kobo glo
|
here it is
|
02-06-2011, 08:11 AM | #11 |
Member
Posts: 17
Karma: 172
Join Date: Dec 2010
Device: PRS-600
|
Hi,
Sorry for this late answer, I have no internet connection at home right now. I updated the program to be able to generate EPUB files in addition to the LRF ones. I also added a parameter to choose cropping efficiency, so it can handle your scans Sage79 (just choose the strongest setting). The setting of the previous version is the lightest one. http://scantoebook.vassaux.net Regards |
02-06-2011, 08:23 AM | #12 |
Enthusiast
Posts: 46
Karma: 66500
Join Date: Jan 2011
Device: kobo glo
|
Great! it is the best software to manage comcs!
Last edited by sage79; 02-06-2011 at 08:29 AM. |
02-06-2011, 08:35 AM | #13 |
Resident Curmudgeon
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Actually, it would be better if it was JPG to ePub. LRF is dead and this is just a limited use application. By going ePub, we can also use the ePub on non-Sony devices.
|
02-06-2011, 09:06 AM | #14 |
Enthusiast
Posts: 46
Karma: 66500
Join Date: Jan 2011
Device: kobo glo
|
now it supports epub.
for tetra: when i create an epub, the number of pages is not correct. it seems that many jpg are collected on a single page. thanks again. |
02-08-2011, 05:36 AM | #15 |
Member
Posts: 17
Karma: 172
Join Date: Dec 2010
Device: PRS-600
|
Yes, thanks, I've seen the page numbering problem but had no time to correct it yet.
Inside the EPUB file, I generate a filefor each TOC entry. Maybe I'll have to do like Calibre and generate a file for each picture. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PDF -> JPG -> CBZ -> LRF | leveck | Workshop | 13 | 06-16-2011 11:21 AM |
Import Failed? Can't convert JPG PDFs? | Tef61 | Kindle Formats | 6 | 09-20-2010 01:46 PM |
DR800 Convert PDF to JPG for faster loading speed? | bokjeid | iRex | 1 | 07-24-2010 09:32 AM |
ebook-convert html to lrf | dicknskip | Calibre | 1 | 05-11-2010 05:45 PM |
Radio Program on the Google Book-Scan Settlement - NOW! | daffy4u | News | 2 | 11-26-2008 09:45 AM |