05-10-2008, 07:11 AM | #31 |
Junior Member
Posts: 7
Karma: 10
Join Date: May 2008
Location: Paris, France
Device: PRS-505
|
Hi!
I'm trying to convert some free pdf ebooks to lrf to make them more "readable" on the prs-505. I've properly installed ebook publisher, I've selected the prs 505 profile, left all options unchecked and at the end of the process I get an error message : "File "encodings\utf_8/pyc", line 16, in decode Unicode Decoder Error : 'utf_8' can't decode bytes in position 5-7: invalid data" the the program stops I've already try different pdfs... Any guess what I should do? Thx ps: I'm running vista ultimate x64 I try by reinstalling the program and it now works! Last edited by pretenderep; 05-10-2008 at 08:18 AM. Reason: solved |
05-10-2008, 09:48 AM | #32 | |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
I still have an issue with how PDFRead "stretches" images on the Sony PRS-500/505 that are smaller (height-wise) than the screen size. The only solution I have found is to resize smaller than maximum image sizes by padding with "white space". This will be in the next revision to PDFRead. |
|
Advert | |
|
05-12-2008, 12:58 PM | #33 |
Junior Member
Posts: 1
Karma: 10
Join Date: Feb 2008
Device: Sony PRS-500
|
Great Job with this. A few things that would make it as nice as pdf2lrf would be the manual adjustment of margins with preview.. and the reflow support. pdf2lrf solved all my pdf issues with the sony, and I think it would be great if pdfread could do the same on the kindle.
thx again... no complaints, just some suggestions... Chris |
05-12-2008, 01:27 PM | #34 | |||
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Thanks!
Quote:
I think a simple preview of the resulting ebook can be easily accomplished from within PDFRead by using your system's default software viewer. Quote:
Quote:
Last edited by nrapallo; 05-12-2008 at 01:29 PM. |
|||
06-03-2008, 05:11 PM | #35 | |
Junior Member
Posts: 6
Karma: 10
Join Date: May 2008
Device: Sony PRS-505
|
Quote:
|
|
Advert | |
|
06-03-2008, 05:13 PM | #36 | |
Junior Member
Posts: 6
Karma: 10
Join Date: May 2008
Device: Sony PRS-505
|
Quote:
|
|
06-03-2008, 06:36 PM | #37 | |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
This "bug" only stretches vertically downward less than maximum height images and is caused by the pylrs code used within PDFRead's output.py module. I have tried different blockstyle & blockrule combinations, but to no avail. The only fix is to pad the bottom of less than maximum height images to the maximum height. Sloppy, but effective. I'd like to fix this along with your other issue below as they both need the maximum height determined.
Quote:
Try entering 600 800 into the Size H: and V: input areas and see if the results are different. If not, then we need to tweak those hard coded values and determine the best values to use. I can only rely on the software lrfviewer (not owning a Sony PRS-500/505) which may not be indicative of how the hardware ereader handles this. I will try to recompile soon the dos pdfread.exe to use different "hard-coded" values in an attempt to 'flush-out' the best values to use. I think 583, 753 and 800 may be better hard-coded values. We'll see... EDIT: For Sony PRS-500/505 users only, added test .zip to replace current pdfread.exe and library.zip in bin directory of the PDFRead install. Please report if there is any improvement utilizing the max. screen area using the 583, 753 and 800 "hard-coded" values. Thanks. Last edited by nrapallo; 06-04-2008 at 10:36 AM. Reason: added test .zip |
|
06-08-2008, 12:01 PM | #38 |
Chocolate Grasshopper ...
Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
|
Thank you for this, it's something I've looking for for a while, it does a very nice job of converting PDF files into .prc.
Great... Just need to look at a way to edit the PDFs, or the output files to make the end product even better than it is. Thanks.. |
06-08-2008, 08:14 PM | #39 | |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
I usually prefer to get my ebooks based on text so that they can be searched or used with the dictionary look-up feature of my ebook reader. When dealing with a .pdf there is no easy way to preserve the layout (without rendering it as an image). I usually give up converting .pdf to ebook format! And then came along PDFRead! Using landscape mode seems the way to go to increase the legibility and the dilation helps a lot! You know what they say, "If you can't beat them, join them!" Last edited by nrapallo; 06-09-2008 at 11:51 AM. Reason: fixing typos |
|
06-14-2008, 06:42 PM | #40 | ||
Junior Member
Posts: 8
Karma: 10
Join Date: Jun 2008
Location: Kuala Lumpur, MY
Device: Kindle DXG, Kindle PW2
|
Weird, possibly trivial error on ubuntu
Please help, my first post here
I am having the following error when running pdfread (I have no experience programming python, only C, so not sure what is going on here) : Quote:
Quote:
|
||
06-15-2008, 03:45 AM | #41 | |
Addict
Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
Quote:
|
|
06-15-2008, 08:30 AM | #42 | |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Thanks for answering this. I don't have much working knowledge on Ubuntu. And welcome back to the PDFRead thread! I noticed that you are interested in adapting the pi alogrithm into PDFRead (like I was thinking of doing, however, my windows installation does not support successful compilation of that program )) The pi program does work on Unix systems (hopefully so on Unbuntu). Since pi is currently front-ended by python code and generates images of ebook pages, it would appear the incorporating of it into PDFRead would be relatively simple and a perfect fit!!! Have you done any testing of this? Nice to see you back! |
|
06-15-2008, 03:55 PM | #43 |
Junior Member
Posts: 9
Karma: 10
Join Date: Jun 2008
Device: Sony PRS-505
|
Hey folks,
I have a Sharp Mobilon Tripad that runs WinCE 2.11 and have mobipocket installed, because it has the best speed of all the ebook readers I have tried. When I try to convert a PDF with PDFRead the book converts, but the page is only about 1/4 of the size of the screen on the device. I can't use a PDF reader becuase the only available Ansyr Primer PDF is way too slow. Is there any way to adjust the output of PDF read for a 256 Color device at 640x480 resolution on a 9.4" display. I would use Mobipocket to convert, but the documents (training manuals) are too complex and never come out right. Size is not an issue, since I can use CF cards. Thanks, Justin |
06-15-2008, 09:30 PM | #44 | |
GuteBook/Mobi2IMP Creator
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
PDFRead is tailored towards devices that are taller than wider i.e 480x640. While it has no problem producing 256 color .prc ebooks, it will (internally) first ensure the cropped page is less than the max. width i.e. 640 in your case, then try to shrink it vertically to be within the max. height. i.e 480. and maintain the device's aspect ratio. So the output will always be on one page for your 640x480 screen since your aspect ratio is 1.33. What you require is for PDFRead to split the pdf page in half vertically, then render each half in turn. However, PDFRead is biased towards 'portrait type' ebook readers and as such there is no easy way to convert for 'landscape type' ebook readers. This may require a tweaking of the algorithim used and may be incorporated into the next release if this can easily be accomplished. In the meantime, use the landscape 'prc-mobi' profile and 'landscape' layout mode. Last edited by nrapallo; 06-16-2008 at 08:21 AM. Reason: fixing typos |
|
06-15-2008, 10:18 PM | #45 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jun 2008
Location: Kuala Lumpur, MY
Device: Kindle DXG, Kindle PW2
|
Unfortunately, that is not really the reason (the @ is there as they are symbolic links (aka shortcuts)) as I tried with the actual files in the same directory and had the same problem. Thanks for pointing that out though. Am I missing a file called process.py by any chance?
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help using PDFRead | daithi81 | Workshop | 8 | 10-16-2009 10:33 AM |
Need help with PDFRead | pfisterfarm | 8 | 03-23-2009 10:19 AM | |
pdfread cybook | x3oo | Cybook | 2 | 03-09-2009 12:49 PM |
PDFRead 1.7 released | ashkulz | 87 | 03-12-2008 11:29 AM | |
PDFRead v5 available on Sourceforge | Alexander Turcic | 3 | 04-08-2007 07:31 AM |