![]() |
#106 | |
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:
![]() The MinFilter can use a 3x3 matrix (default=3) or 5x5 matrix when doing its magic. I changed the dilation module's return value in process.py to: Code:
return image.filter(ImageFilter.MinFilter(5)) Could you test to see which resulting .lrf (first 5 pages only) looks better on the hardware reader? (Sorry for the stretch of short pages, I still have to fix that one!!!) What about the comparison with PDFLRF now? p.s. I provide the modified PDFRead bin files which should be placed in the bin directory and overwrite the existing files. Just take a backup first though should you wish to restore those original files. Last edited by nrapallo; 09-29-2008 at 09:42 AM. Reason: added image showing settings used to create .lrf |
|
![]() |
![]() |
![]() |
#107 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Well considering it was a productive meddling you're excused
![]() Okay I've taken a look at the files, here's the good, the bad. There is a definite improvement on these files over what 1.8 produces today. They show up much clearer on the reader. There where two files that looked better than the rest. On was the first file minifilter-3 and the other was minifilter-5-400 What I see in PDFReader is a truncation of fonts on the top or bottom part. The best example is on Pg 6 of the landscape. However this occurs through out the text. Some of the pixels on the font are getting erased, by dropping the dilation you overcome this but it bleeds over. I think if you stretch the page out the bleeding will be reduced PDFLRF still looks better but again it is maximizing the screen by croping off the white spaces. I do notice PDFLRF does bleed seen mostly with the "a" font. I suspect if you dilate with a value of 300 and stretch the screen you should get similar results to that of PDFLRF. =X= Last edited by =X=; 09-29-2008 at 09:45 AM. Reason: fixed typo |
![]() |
![]() |
![]() |
#108 | |||
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:
![]() ![]() Ok back to reality, the MinFilter-3 is the original PDFRead executable with the default MinFilter(3) with only 8 colors. The MinFilter-5-400 is the MinFilter using the 5x5 matrix and 400 DPI. Here you get a higher resolution with thicker text before the resize op kicks in. Quote:
Quote:
![]() p.s. However, PDFRead does produce a page which is cropped to remove the margin, so maybe the pylrf library is adding that white margin? Have you seen the .png pages that PDFRead produces? If not, use that 'debug' feature explained in post #1 above (last entry under [2008-03-12] 1.8 (by AK and NR)). Last edited by nrapallo; 09-29-2008 at 11:41 AM. Reason: typos |
|||
![]() |
![]() |
![]() |
#109 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 350
Karma: 705
Join Date: Dec 2006
Location: Mumbai, India
Device: Kindle 1/REB 1200
|
Looks like the Sony software has issues with VirtualBox, so I'll have to download and install VMWare
![]() |
![]() |
![]() |
![]() |
#110 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
![]() ![]() Quote:
I've attached an LRF created by Calibe/BookCreator (I simply slapped the images in a word document then stretched them out. The result was pretty decent. =X= |
|
![]() |
![]() |
![]() |
#111 | |
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
|
Sorry, I couldn't resist!
![]() But, I do I appreciate the amount of effort your have expended here with this issue. ![]() Quote:
![]() I liked page 1 of your latest .lrf posting (viewed with the software reader). Page 4 was nice too but appeared a bit too squished and lost some definition. The last page was a write-off. Which one did I favour. Was it Coke? ![]() Last edited by nrapallo; 09-29-2008 at 02:54 PM. |
|
![]() |
![]() |
![]() |
#112 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
|
![]() |
![]() |
![]() |
#113 |
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
|
|
![]() |
![]() |
![]() |
#114 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
|
![]() |
![]() |
![]() |
#115 |
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
|
|
![]() |
![]() |
![]() |
#116 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Option e) "None of the above"
It's an unmodified PDFRead v1.82. I did change the settings from my very first post, as I've been learning how to use PDFRead Settings; DPI: 400 color: 4 Crop %: 5 Edge Level: 6 H/W: 754/584 The rest of the settings are default Now I'm tempted to see how good the modified PDFRead looks. =X= |
![]() |
![]() |
![]() |
#117 | ||
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:
![]() ![]() |
||
![]() |
![]() |
![]() |
#118 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
So yesterday I tried this method to make PDF readable under the SONY. The process is found under Poor boys way of editing PDF.... Anyhow with SONY's firmware release for the PRS-505 this solution is very nice. The advantage is that it keeps the PDF as text and not into an image.
Essentially this tool does two things, remove the margin and change the fonts. I found removing the margin the only thing necessary, but changing the font also helped . I guess the reason I'm posting here is to wonder how hard it would be to include this as an additional SOLUTION for PDF? =X= Last edited by =X=; 10-01-2008 at 01:46 PM. Reason: Grammer fix |
![]() |
![]() |
![]() |
#119 |
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
|
Other possible solutions as posted by caritas (uses Sony PRS505) include:
An algorithm to render PDF in small devices They all have stengths and weaknesses, but since PDFRead is an image based solution right now, I would think the one in bold, above, would be the BEST solution overall! Subtitute font when rending PDF on small screen Another embold method for rending PDF ![]() |
![]() |
![]() |
![]() |
#120 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Well yes they are all good. (The middle solution is modifying the font on the PDF before it is converted to an image hm...)
The problem with image based solutions is that they loose font crispness as so do the images in the PDF. This is do to all the image manipulation done get the image viewable on the target device. Also the final eBook is HUGE compared to the original. A typical 500KB PDF will be close to 10MB. Now only modifying the margin and Font will preserve the images and font quality in addition to keeping the final eBook size very small Anyhow just food for thought =X= |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |