Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 11-17-2008, 12:32 PM   #16
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
Quote:
Originally Posted by nrapallo View Post
I thought the max dimensions on the Sony ebook readers were 584 width x 754 height.

I got this from page 4 of the Sony recommended pdf size.
Those could be the recommended screensize for readable text, with a small border of 2x8 pix horizontal and a 2x23pix vertical border.

Though I prefer text without border, since it takes up screen space, and you already have a border around the screen. (I mean it's not like we can make annotations on these devices or so).

when I load a pdf,with this info, and zoom on text width, I notice that the left,top and right border are the same size.
So let's assume you have a border of 8pix left,up and right of the text.
This leaves a border of 38 on the bottom.
take 13 pix of the bottom border since it seems a little larger than the others, and you'll have a bar on the bottom of about 25 pix.

in other words it could be that images with a size of 775x600 are displayed exactly the same as 800x600.
In order to figure that out I can try to see if I see any difference between the quality of 800x600 and 775x600.
Obviously 775x600 will be more stretched looking.

However I had preferred if someone knew by playing around with the internal software what the exact resolutions are.
ProDigit is offline   Reply With Quote
Old 11-17-2008, 12:37 PM   #17
soilwork
useR!
soilwork will become famous soon enoughsoilwork will become famous soon enoughsoilwork will become famous soon enoughsoilwork will become famous soon enoughsoilwork will become famous soon enoughsoilwork will become famous soon enough
 
soilwork's Avatar
 
Posts: 299
Karma: 651
Join Date: Nov 2007
Location: NY
Device: Onyx Boox Max 2, Kobo Libra H2O, iRiver Story HD
About changing the output size.

As TaeSoo and nrapallo mentioned, you can change the output resolution by modifying two lines of 'config.lua'. You can change the first two lines to these.
Code:
device_width=584
device_height=754
Better yet, you can convert set of image files into LRF using comic2lrf of Calibre. First, make one zip file from the pictures then use a simple script such as
Code:
comic2lrf -c 8 -r 'file.name.here.zip'
I think it will be easier to manage one LRF file instead of hundreds of images.
soilwork is offline   Reply With Quote
Advert
Old 11-17-2008, 12:47 PM   #18
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 ProDigit View Post
In order to figure that out I can try to see if I see any difference between the quality of 800x600 and 775x600.
Obviously 775x600 will be more stretched looking.
It shouldn't look stretched if the original image's aspect ratio is maintained, just a bit more white margin space in lieu.

Now if PaperCrop does in fact stretch it to fit, then you would have to override this behaviour to get non-stretch/squished resulting images.

In the end, there is no right/wrong way to do this; it's a matter of personal taste/preference i.e what you like to use!

Quote:
However I had preferred if someone knew by playing around with the internal software what the exact resolutions are.
Trial and error and a bit of sweat equity is always needed when charting unknown territory...

Last edited by nrapallo; 11-17-2008 at 12:55 PM.
nrapallo is offline   Reply With Quote
Old 11-17-2008, 12:48 PM   #19
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
Quote:
Originally Posted by soilwork View Post
As TaeSoo and nrapallo mentioned, you can change the output resolution by modifying two lines of 'config.lua'. You can change the first two lines to these.
Code:
device_width=584
device_height=754
Better yet, you can convert set of image files into LRF using comic2lrf of Calibre. First, make one zip file from the pictures then use a simple script such as
Code:
comic2lrf -c 8 -r 'file.name.here.zip'
I think it will be easier to manage one LRF file instead of hundreds of images.
I think the problem is that we don't know what the best size is.
548x754 will be the best format for text margins in pdf.
jpg's need to use the full screen.
Making them smaller than the viewable area will result in loss of quality.
Making them larger results in loss of battery life, and display time.
Some pages I could format perfectly in 320x240 and they still will be viewable, but the quality of the page will suffer...
ProDigit is offline   Reply With Quote
Old 11-17-2008, 12:53 PM   #20
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
Oh, another bug after editing the config.lua, the resulting .png images are of size of 473 x 595 even though I set 472 x 595 as the max. dimensions my reader expects. This is probably a rounding-off problem...
nrapallo is offline   Reply With Quote
Advert
Old 11-17-2008, 01:16 PM   #21
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,310
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by nrapallo View Post
I thought the max dimensions on the Sony ebook readers were 584 width x 754 height.

I got this from page 4 of the Sony recommended pdf size.
Actually, i think the dimensions are 600x775.
JSWolf is offline   Reply With Quote
Old 11-17-2008, 01:34 PM   #22
soilwork
useR!
soilwork will become famous soon enoughsoilwork will become famous soon enoughsoilwork will become famous soon enoughsoilwork will become famous soon enoughsoilwork will become famous soon enoughsoilwork will become famous soon enough
 
soilwork's Avatar
 
Posts: 299
Karma: 651
Join Date: Nov 2007
Location: NY
Device: Onyx Boox Max 2, Kobo Libra H2O, iRiver Story HD
Quote:
Originally Posted by ProDigit View Post
I think the problem is that we don't know what the best size is.
548x754 will be the best format for text margins in pdf.
jpg's need to use the full screen.
Making them smaller than the viewable area will result in loss of quality.
Making them larger results in loss of battery life, and display time.
Some pages I could format perfectly in 320x240 and they still will be viewable, but the quality of the page will suffer...

That is why I suggested the second option of converting into LRF. First, you can make the images with arbitrarily large resolution and then use PDFLRF or Comic2lrf. Then we don't need to worry about the correct resolution at all.

Of course, if you would like to read PDF using 1000's of splitted jpg/png/gifs, then you have to figure out the correct resolution. However, since LRF is much faster and easier to manage, I cannot think of any good reason to use image files instead of LRF.

Last edited by soilwork; 11-17-2008 at 01:43 PM.
soilwork is offline   Reply With Quote
Old 11-17-2008, 02:01 PM   #23
soilwork
useR!
soilwork will become famous soon enoughsoilwork will become famous soon enoughsoilwork will become famous soon enoughsoilwork will become famous soon enoughsoilwork will become famous soon enoughsoilwork will become famous soon enough
 
soilwork's Avatar
 
Posts: 299
Karma: 651
Join Date: Nov 2007
Location: NY
Device: Onyx Boox Max 2, Kobo Libra H2O, iRiver Story HD
Quote:
Originally Posted by ProDigit View Post
Those could be the recommended screensize for readable text, with a small border of 2x8 pix horizontal and a 2x23pix vertical border.
PDFLRF makes LRF based on images and it also uses 584 width x 754 height as the final output. So I don't think the resolution is only for text file. Of course, I am assuming that image based LRFs are displayed in the same resolution as image files.
soilwork is offline   Reply With Quote
Old 11-17-2008, 03:05 PM   #24
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
So far I did the test of the picture Sony provided on the PRS-505 of the baby.
Resizing it would give you either 800x625 or 768x600pix.
On the baby picture I could not see any difference between the two.

I will test it out with a high quality picture (with lots of detail, and probably a resolution of higher than 1MPix, of eg: grass trees and leafs) to compare each picture's size to the quality displayed.
ProDigit is offline   Reply With Quote
Old 11-17-2008, 04:52 PM   #25
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
here are a few pictures resized all with the same settings.
I hope they work, as I'll be testing them as soon as I post this post.

Try out for yourself to see where on the reader quality decreases.
The picture is a regular picture found on google images.

Nature2 is the original.
The other formats are 8bit greyscale (256 color) versions that have lower than the original resolution.
Attached Thumbnails
Click image for larger version

Name:	nature2.jpg
Views:	1251
Size:	543.6 KB
ID:	17970   Click image for larger version

Name:	nature2 1067x800.jpg
Views:	1226
Size:	200.9 KB
ID:	17971   Click image for larger version

Name:	nature2 800x600.jpg
Views:	1299
Size:	125.2 KB
ID:	17972   Click image for larger version

Name:	nature2 779x584.jpg
Views:	1229
Size:	112.7 KB
ID:	17973   Click image for larger version

Name:	nature2 768x576.jpg
Views:	1270
Size:	109.4 KB
ID:	17974   Click image for larger version

Name:	nature2 754x566.jpg
Views:	1215
Size:	106.5 KB
ID:	17975   Click image for larger version

Name:	nature2 640x480.jpg
Views:	1210
Size:	78.0 KB
ID:	17976   Click image for larger version

Name:	nature2 512x384.jpg
Views:	1241
Size:	50.4 KB
ID:	17977   Click image for larger version

Name:	nature2 320x240.jpg
Views:	1251
Size:	20.3 KB
ID:	17978  
ProDigit is offline   Reply With Quote
Old 11-17-2008, 05:17 PM   #26
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
OK,I'm back with some results.
To see the pictures full screen without zoom it is hard to distinguish between files having a resolution of 754x566 pixels or greater.
When you zoom in to the max of the zoom factor, you can see that certain artifacts (pixels) are not visible on the lower qualities, but they are at 800x600 resolution.

Upon review I'll have to recode the images,seeing that the 779x548 pix. image is way blurrier than the 800x600 image.
This can have to do with the encoding being set to retain 84% of the original quality.
Tomorrow I'll re-post everything on 100% quality.
ProDigit is offline   Reply With Quote
Old 11-17-2008, 05:21 PM   #27
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 ProDigit View Post
Nature2 is the original.
Just for comparison, this is what that image looks like using 584 x 754 as the max dimensions using PDFRead (default settings) and outputing to .lrf format in portrait and landscape modes.

BTW, this .lrf was prepared using the Sony bug-fixed pdfread.exe command line program (v1.8.2.1).
Attached Files
File Type: lrf nature2-portrait.lrf (102.3 KB, 1167 views)
File Type: lrf nature2-landscape.lrf (136.2 KB, 1154 views)

Last edited by nrapallo; 11-17-2008 at 05:25 PM. Reason: fixed the height of the landscape.lrf as it was one pixel over the max. Don't know if it makes a diff.
nrapallo is offline   Reply With Quote
Old 11-18-2008, 03:40 PM   #28
Ulysses
Member
Ulysses began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2008
Device: Hanlin V3
Very good idea but it crashes all the time, maybe an option to start from a certain page would be good "work around" so we can continue where we stopped..
Ulysses is offline   Reply With Quote
Old 11-19-2008, 08:43 AM   #29
ProDigit
Karmaniac
ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.ProDigit ought to be getting tired of karma fortunes by now.
 
Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
Quote:
Originally Posted by nrapallo View Post
Just for comparison, this is what that image looks like using 584 x 754 as the max dimensions using PDFRead (default settings) and outputing to .lrf format in portrait and landscape modes.

BTW, this .lrf was prepared using the Sony bug-fixed pdfread.exe command line program (v1.8.2.1).
I apologise for not earlier replying, but I'm a bit busy lately.
I'll give those documents a look, and will let you know.
Obviously reducing the resolution will reduce the quality.
But perhaps in the document you post the quality loss is unnoticable.

So far on full screen (non-zoomed out) I could not detect any difference between jpegs with a greater than 754x566 pixels .
But probably it also has to do with filesize. A 754x566 pixels 128kB jpeg fil might look exactly the same as a 800x600pix 128kB file...

I'm a newbie here, and know very little of all of this, but perhaps I can help to figure out the 'best' pixel width and length for comic books.
For pure B&W (non graytint) comic books,gif is the best format. But the Sony reader does not support that format.

I'll do further testing later on.
ProDigit is offline   Reply With Quote
Old 11-19-2008, 10:57 PM   #30
Taesoo Kwon
Enthusiast
Taesoo Kwon doesn't litterTaesoo Kwon doesn't litter
 
Posts: 27
Karma: 163
Join Date: Nov 2008
Device: Kobo wifi
Quote:
Originally Posted by Ulysses View Post
Very good idea but it crashes all the time, maybe an option to start from a certain page would be good "work around" so we can continue where we stopped..
I hope the problem will disappear after downloading the version 0.3.
If it continues to crash, please send me the PDF file to me by e-mail.
Taesoo Kwon is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Q: multi-column PDF to single column mobi format converstion auburn1975 Calibre 7 01-28-2012 06:11 PM
eBook PDF - free tool for creating PDF eBooks from text files KACartlidge PDF 6 01-04-2012 09:41 AM
Multi column sort? nexus100 Calibre 1 07-11-2010 11:19 PM
Multi-column articles in PDF tdido OpenInkpot 7 06-30-2009 11:13 AM


All times are GMT -4. The time now is 08:17 PM.


MobileRead.com is a privately owned, operated and funded community.