10-01-2008, 03:45 PM | #121 | |
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:
Your case may work well for larger print .pdf, but may not be general enough to handle most (all) cases. I do agree that when .pdf's loose their margin the text does look a lot better and clearer. Just chomping on that food a bit.... p.s. BTW, I think the font 'loss" you experienced before when you where using PDFRead came from using a too high edge enhancement i.e 6; if the resulting text is too blurry, then and only then would I suggest using high edge enhancement values. |
|
10-14-2008, 12:04 AM | #122 |
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
|
New pdfread executables available for Sony users...
Well I finally managed to quash that Sony .lrf bug that stretched short pages!!! I attach just the files that need to be updated within the bin directory of the PDFRead install directory (the one selected when the GUI installer was first executed).
I tried it out with the .pdf =X= posted a while back with GREAT results. However, all I could use was the software lrfviewer. Could those with a Sony PRS500/505 test to see which resulting .lrf (first 5 pages only) looks better on the hardware reader i.e. MinFilter 3 (orig) with 300 DPI or MinFilter 3 with 500 DPI or MinFilter 5 (new) with 300 DPI or MinFilter 5 with 500 DPI. These sample .lrf's are attached below. How does this compare with PDFLRF now? Using pdfread-MinFilter3-mod-bin.zip, unzip the modified PDFRead bin files (using the original MinFilter 3 dilate) into the bin directory and overwrite the existing files. Just take a backup first though should you wish to restore those original files. Should you wish to try the new MinFilter 5 dilate, unzip pdfread-MinFilter5-mod-bin.zip into the bin directory instead! (Note: you may have to increase the DPI to 500 when using the MinFilter 5 dilate to get acceptable results!) |
Advert | |
|
10-14-2008, 12:19 PM | #123 |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Hi Nick
I took a look at those files the MiniFilter 3 with 500 dilation looked best. In truth the final result is still undesirable. There are many letters that are missing parts some are truncated a few are altogether missing. I don't think this is a filtering issue, when I ran looked at the PNG they looked good enough (very comparable to PDFLRF, --maybe a small blur pass to soften the edges). however the transformation form PNG to LRF is where everything goes hay wire. |
10-14-2008, 01:35 PM | #124 | |
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:
Those "missing parts" must be tied in with the antialiasing done with 4 or 8 colours. I see this (gray) in the .png as well and they look OK on the PC screen, even magnified a bit. The pylrs routine must not "do justice" to the transformation from .png to .lrf. Oh well. I tried... and thanks for helping out here! Last edited by nrapallo; 10-14-2008 at 01:53 PM. |
|
10-14-2008, 01:46 PM | #125 |
creator of calibre
Posts: 44,409
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you want control over the transformation, just create an EPUB file instead of LRF.
|
Advert | |
|
10-14-2008, 01:51 PM | #126 | |
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 will try and hack together a .epub to try this out again (from the resulting .png's left after the conversion). Nothing to loose... Last edited by nrapallo; 10-14-2008 at 01:53 PM. |
|
10-14-2008, 02:48 PM | #127 |
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
|
I used the tutorial here to create an epub using WinZip.
Hope it works on the Sony PRS! If not, I'll create it using another tutorial posted to teleread.org last year. EDIT: valid .epub can now be found here! Any better? vs. attached .lrf? Last edited by nrapallo; 03-16-2009 at 05:11 PM. Reason: removed attached .epub as it was not valid :( |
10-14-2008, 05:35 PM | #128 | |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
It's just a blank page. On an aside, while I don't mind the fix to shift from LRF to ePUB, you will be excluding PRS-500 folks from benefiting from this tool. PS PS. I just unzipped your LRF file with Calibres lrf2lrs tool. Those PNGs look very nice. The problem does seem to lie on how PDFReader create the LRF. Does LRF compress the images if they don't lie withing the screen? Is there a way to shrink the file and display as is w/o any image dimension change? |
|
10-14-2008, 05:56 PM | #129 | |||||
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:
Quote:
Quote:
Quote:
Quote:
I'll try again producing a .epub that the Sony CAN display and then you'll (and I'll) see if the pylrf module is at fault! ... you think? Last edited by nrapallo; 10-14-2008 at 06:01 PM. |
|||||
10-14-2008, 06:38 PM | #130 |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
I've unzipped your ePUB and created the ePUB using Calibre and BookCreator. It looks like the ePUB created by Calibre crashes the PRS/505 device. : there goes by bookmarks. sony needs a better way to store bookmarks!
Anyhow the ePUB does not crash AdobeDE and the images did look good on AdobeDE/Sony Library. So the solution so far seems viable. I need to test it on the SONY first. =X= |
10-14-2008, 09:02 PM | #131 |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Okay I was able to create an ePUB that did not crash my SONY 505. The trick was to reduce the image width to 90%.
Anyhow I've uploaded a series of different files. In the end the best view was the (NOTE All except PDF where created from the created in Minifilter3-500. 1) PDFLRF (only slightly better than ePUB) 2) ePUB 3) Calibres LRF 4) PDFRead LRF =X= |
10-15-2008, 10:56 AM | #132 |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Question
How easy would it be to use html2lrf and html2epub from PDFRead instead of pylrf.
=X= |
10-15-2008, 12:30 PM | #133 | |
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:
Could you test them out? Since you reduced them by 90% before to get it to work, it could be that the Sony max size I'm using may be wrong. I had changed the Sony max size from 583x753 to 584x754 with the last recompile done for the Sony bug fix. As a result, I include two .epub files: one with the old max size of 583x753; the other with the new max size of 584x754. Hopefully they BOTH don't crash your Sony... Also, I modified html2mobi by tompe to create the .prc output for PDFRead, so it shouldn't be too hard to use html2lrf or html2epub to create the .lrf or .epub output instead of using pylrf. This forces external programs to be used instead of internal perl code, though; a last ditch solution. I'll try it out as an experiement, but since PDFRead is due for a complete overhaul soon, I will not try and come out with a new version just yet! I also attach the .lrf and epub created by the calibre command line tools (html2lrf and html2epub) after the calibre-GUI epub files mentioned above. Lots of choices, but which is the better alternative? Last edited by nrapallo; 10-15-2008 at 12:33 PM. |
|
10-15-2008, 03:59 PM | #134 | |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Winner!
Yea! None crashed my Reader
Quote:
WINNER! calibre-bierig-MinFilter-3-500-1-5-584x754.epub This file was the best by far the font crisp was not observed The only flaw was the left margin was to wide and pushed the text off of the right side truncating the words. But the fonts were beautiful, it brought to me eyes. Detail of Files Neither OEBPS worked, both gave me a Warning error. It seems like you used different settings for each file as there was quite a lot of variance The calibre-bierig-MinFilter-3-500-1-5-583x753.epub had the image inverted so no need to comment on how bad the imaged looked... wait I guess I did comment on it. The LRF files looked quite different the 583 look better. There looked to be some blur/smooth on this version that softened the font's edges Score Scale of 1-10 10 584x754 EPUB 0 583x753 EPUB - OEBPS (couldn't view) 7 583x753 LRF 4 584x754 LRF |
|
10-15-2008, 05:19 PM | #135 | |||||
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:
Quote:
Code:
<html> <head> <title>bierig - epub - MinFilter3 - 500DPI</title> <meta name="author" content="bierig.pdf"> <meta name="genre" content="Test"> <meta name="category" content="Test"> <meta name="generator" content="PDFRead v1.8.2b"> <style>p {text-indent:0em; margin-left:2px; margin-right:2px; margin-top:0em; margin-bottom:0em; text-align:none}</style> </head> <body> <h2 align="center">bierig - epub - MinFilter3 - 500DPI</h2> <h2 align="center">by</h2> <h2 align="center">bierig.pdf</h2> <p style="page-break-before: always"> <p><a name="img0"></a><img src="0.png"/></p> <p><a name="img1"></a><img src="1.png"/></p> <p><a name="img2"></a><img src="2.png"/></p> <p><a name="img3"></a><img src="3.png"/></p> <p><a name="img4"></a><img src="4.png"/></p> </body> </html> Quote:
Quote:
Quote:
It would appear that the .lrf version created by html2lrf or PDFRead BOTH suffer from the same affliction--poor rendering on the Sony hardware reader despite looking good in the software viewer! Last edited by nrapallo; 10-15-2008 at 05:25 PM. |
|||||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help using PDFRead | daithi81 | Workshop | 8 | 10-16-2009 09:33 AM |
Need help with PDFRead | pfisterfarm | 8 | 03-23-2009 09:19 AM | |
pdfread cybook | x3oo | Cybook | 2 | 03-09-2009 11:49 AM |
PDFRead 1.7 released | ashkulz | 87 | 03-12-2008 10:29 AM | |
PDFRead v5 available on Sourceforge | Alexander Turcic | 3 | 04-08-2007 06:31 AM |