![]() |
#181 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 6020
Join Date: Feb 2009
Location: Silicon Valley, CA
Device: Kindle Voyage, Samsung Galaxy S23+, Galaxy Tab S6
|
So, the prc file generated with the iLiad-p profile should be able to be loaded into the Kindle 2, right?
I'm expecting my Kindle 2 to arrive next week and in preparation I'm converting a few of the PDFs I want to move over. When I used the prc-mobi-p profile, besides the expected downgrade in graphics quality (b/w vs 16 shades gray), the resultant output file had large margins on the bottom and right-hand side. With the iLiad-p profile, each page image came closer to filling the entire page and looked much better. So I should have no problem pulling this iLiad version into the Kindle 2 right? |
![]() |
![]() |
![]() |
#182 | |
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:
Code:
prc-mobi : 520 640 landscape right 4 gray prc prc-mobi-p: 520 640 portrait none 4 gray prc iLiad : 768 935 landscape right 16 gray prc iLiad-p : 768 935 portrait none 16 gray prc When you get your K2, just experiment which works better (and, of course, report your findings back here ![]() |
|
![]() |
![]() |
![]() |
#183 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 6020
Join Date: Feb 2009
Location: Silicon Valley, CA
Device: Kindle Voyage, Samsung Galaxy S23+, Galaxy Tab S6
|
|
![]() |
![]() |
![]() |
#184 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 6020
Join Date: Feb 2009
Location: Silicon Valley, CA
Device: Kindle Voyage, Samsung Galaxy S23+, Galaxy Tab S6
|
Luving ♥ my Kindle 2. Though I still haven't been able to get the particular PDF eBook I've been trying to convert into a readable format that I'm comfortable with.
I couldn't get into the landscape way of reading it... my hands all weren't in the right place for paging and all, and sometimes it split the page mid line, so that actual words were cut in half, so obviously not an option I wanted to continue to pursue. So working in portrait mode, I tried various settings of widening the vertical size to 600 which didn't seem to make much difference. The only thing that did help somewhat is changing the cropping value from 2 to 1. Because if I can get rid of the margins all along the sides of this thing, then it might be good. But I couldn't go less than 1, so it's still got a good 1" margin all around the text, making the overall text size too small to be comfortably read. So any suggestions on how to get it so that all the white space on the sides is kaput? Since the screen resolution of the Kindle 2 is 800 x 600 (wide), should I be plugging in these parameters for the size. (I actually didn't notice much difference from when I did that versus leaving them at their default for the prc-mobi-p profile. |
![]() |
![]() |
![]() |
#185 | |
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 problem with cropping is that it stops at the first major black text/page number/spot on the pdf page. Then the program takes that cropped image and splits it where the Layout mode indicates. The resulting images may/will have text cut in the middle, but there is a bit of overlapping to each image so you don't really loose any lines of text. Experiement on a few pages only, like Pages 7 to 8, exactly like I showed in this post. Enter the same options and then when it works for a few pages, convert the entire pdf ebook. If you want me to try to convert it, post it here, if you can, or email me at nrapallo [at] yahoo.ca . Last edited by nrapallo; 02-26-2009 at 08:27 AM. |
|
![]() |
![]() |
![]() |
#186 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2009
Device: Kindle 2
|
Margins
Great job with this app!
![]() Cheers! Anthony |
![]() |
![]() |
![]() |
#187 | ||
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:
Perhaps we can try experimenting on a sample .pdf book scan (any suggestions?) to ensure all can help and contribute with this exercise. It's a very time consuming option though, so limited page ranges are recommended while testing. |
||
![]() |
![]() |
![]() |
#188 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2009
Device: Kindle 2
|
Unpaper
Hi!
Was just checking out the documentation and I believe that the way to go would be to specify an absolute mask using --mask and specifying the sizes and then disabling the border detection using --no-border-scan since the mask already strips out the border. This would only work for PDF's whose pages are all uniform with respect to their margins. For those cases where pages vary in margins then another approach is needed where the mask remains auto-detected but the border detection is tweaked so that it would ignore page numbers and such. In any case I'm on my iPhone so I can't put anything to the test right now but when I get home I'll run some test and post my findings... I have to first check out the proper syntax for specifying the sizes for --mask. Regards, Anthony Anthony |
![]() |
![]() |
![]() |
#189 | |
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'll help you, if I can. Good luck! |
|
![]() |
![]() |
![]() |
#190 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2009
Device: Kindle 2
|
![]()
Hi!
You mentioned having to type in -v for unpaper and I was wondering whether you were only referring to the command-line usage or if I have to start my unpaper switches in the GUI's textbox with -v. Regards, Anthony |
![]() |
![]() |
![]() |
#191 | |
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:
Just one parameter (simplist one is -v) in the GUI screen input box invokes the unpaper processing within PDFRead i.e. it allows unpaper to work on the images using the defaults. |
|
![]() |
![]() |
![]() |
#192 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2009
Device: Kindle 2
|
![]()
Hi!
Okay, I've been fooling around with different unpaper options and found something that works for me : Kindle 1/2 ====== out-format : prc profile : prc-mobi-p layout-mode : portrait-full unpaper : --pre-border 0,180,150,0 --no-border-scan rotation : none dpi : 300 cropping : 2.0 size : 600x800 colorspace : gray colors : 16 edge : 5 optimize png's The things to look at are the unpaper options, specifically "pre-border 0,180,150,0". These are specified in pixels as 0 from the left, 180 from the top, 150 from the right, and 0 from the bottom. Everything outside this rectangular region gets blanked out. Use 0 if there's nothing to remove, in this case I had nothing to remove from the left and bottom of the pages so I left them as 0. However, the top of the page contained headers as well as page numbers, and the right side contained chapter numbers, which is why I stripped 180 from the top and 150 from the right. Now to be technical, pre-border doesn't strip-out or remove the areas, it simply whites them out, but because of the processing that occurs right after it works out to being essentially the same thing. "--no-border-scan" simply tells unpaper that you don't want any borders. Now each PDF is going to be different, so you have to flip through the pages and check out the margins and come up with your own numbers for pre-border, but that's pretty much all you need to change. Nick : There's still a small border around the pages no matter what I tried, so I'm wondering whether or not it's even possible to use up all of the Kindle 2's 600x800 resolution. Based on the options I've used, have I missed something or is that pretty much all that can be done? From the samples I've downloaded to my Kindle 2 (including the dictionary and user guide) I think the Kindle has a built-in border that simply can't be used up, so I *think* this is the best that can be done but I want to make sure. Also, unpaper doesn't take that long at all, just adds a second or two to each page so feel free to use it. Regards, Anthony |
![]() |
![]() |
![]() |
#193 | |
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:
To increase the resulting font size (and improve its readability), you may want to try a landscape profile and landscape-half layout mode. Though, if its large enough for you in portrait mode, then by all means go with that! Can you post your example .pdf and the resulting .prc (screenshots would be fine)? What was the size of the pdf images in pixels? what percentage would 180 or 150 pixels represent? If based on dpi and say letter sized .pdfs, then 300x8.5 = 2250 pixels wide, so 150/2550 = 6% or 150/300 = 0.5" from the right and 300x11 = 3300 pixels tall, so 180/3300 = 5.4% or 180/300 = 0.6" from the top. Does that sound about right? The PDFRead profile's length and width (Hres & Vres)do represent what was discovered to be the max. resolution of images for the Kindle 1. I would think the Kindle 2 would be the same i.e. max image size would be less than 600x800! Last edited by nrapallo; 03-22-2009 at 12:22 AM. Reason: typo |
|
![]() |
![]() |
![]() |
#194 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2009
Device: Kindle 2
|
![]()
Hi!
Yes, during my tests I had already given thought to the aspect ratio but that's definitely not it since the small border exists all around, not just either vertically or horizontally... had it been the aspect ratio then it would have used up all the remaining space for either the vertical or horizontal edges, see what I mean? It was interesting to see my Kindle 2 go into sleep mode, it displays a picture on the screen and even that picture had a small white border around it so I *believe* that's hard-wired, but I wanted to make sure. Regarding landscape mode, personally I prefer not to chop the page in half, I want to be able to see the full page all at once, and as long as I can get rid of as much margins as possible I think it's pretty readable for me. Landscape would mean that things would get chopped in half, including sentences. Regarding the max res, you may be right, I was simply going by their official specs. I can email you the PDF and .prc file if you like... I'll see if I can get your email from your profile when I get out of this editor. I just tested by removing the 600x800 override, no difference. ![]() ![]() Also, I've noticed an artifact... on my Kindle reader, there seems to be a blank page inserted here and there in places where there's no blank pages. I checked the generated png's and they're fine, no blank pages there so either it's something in the .prc generation or it's a Kindle bug. Regards, Anthony |
![]() |
![]() |
![]() |
#195 | |||||
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:
Did you try any other interesting 'unpaper' options? Last edited by nrapallo; 02-27-2009 at 12:52 AM. Reason: added link to "lost" image problem |
|||||
![]() |
![]() |
![]() |
|
![]() |
||||
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 |