View Single Post
Old 10-14-2008, 06:56 PM   #129
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
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:
Originally Posted by =X= View Post
Hum.. You might want to try teleread's tutorial. The ePUB does not work.
It's just a blank page.
Sorry, I should have used epubcheck to see if it was valid. OK, back to the other tutorial, on how to create a .epub (manually)...

Quote:
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.
Yeah, I hear ya! Just experimenting though what works better; it's easy to keep .lrf output as it's already coded.

Quote:
PS PS. I just unzipped your LRF file with Calibres lrf2lrs tool. Those PNGs look very nice.
You might also try to unzip the .epub file (after renaming it to .zip). In the OEBPS directory you will find the original 0.png to 4.png files used to create the .lrf file. They all are max 584x754 (aspect ratio willing!) images and are the output of PDFRead. These images are given to the pylrf module to generate the .lrf. Pylrf is an external library to the PDFRead code and it's beyond me how to better it!

Quote:
The problem does seem to lie on how PDFReader create the LRF.
I agree 100%!!!!

Quote:
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?
I am using the Sony PRS maximum screen size (584x754) or less, so there should not be any change to these .png's once them become a .lrf.

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 07:01 PM.
nrapallo is offline   Reply With Quote