View Single Post
Old 02-26-2009, 10:25 PM   #192
AnthonyPaulO
Member
AnthonyPaulO began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2009
Device: Kindle 2
Exclamation Kindle 1/2 options

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
AnthonyPaulO is offline   Reply With Quote