Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 02-05-2014, 10:56 PM   #736
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 583
Karma: 2526455
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by JensW View Post
Just wanted to throw in some greetings. Really nice to see that you still find ways to enhance k2pdfopt Willus.
All the best
Jens
Jens--Hello, and thank you! Yes, I am still finding time to tinker with it, much to my wife's chagrin. Drop me a line anytime. You have my e-mail.
willus is offline   Reply With Quote
Old 02-22-2014, 12:04 PM   #737
aarora610
Junior Member
aarora610 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteraarora610 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteraarora610 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteraarora610 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteraarora610 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteraarora610 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteraarora610 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteraarora610 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteraarora610 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteraarora610 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteraarora610 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 4
Karma: 12500
Join Date: Jan 2014
Device: Paperwhite 2
Quote:
Originally Posted by willus View Post
I appreciate the sentiment. I usually tell people that they should donate the money to some other open source effort or to charity. I am fortunate enough that I don't need it. You have already helped me by giving me a good test case.

The planet needs a lot more people like this. Bless you.
aarora610 is offline   Reply With Quote
Old 03-07-2014, 11:12 AM   #738
agelos100
Member
agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40
 
Posts: 21
Karma: 73000
Join Date: Oct 2013
Device: kindle
Conversion Problem

Hello, Willus,

I have a problem with the conversion with a pdf file. There are both some large gaps at the and of the page, and top and bottom lines half deleted.

I have the latest version of your software, win 7, 32 bit and the following options:

-dev kpw -mode fw -ls-

I enclose sample files before and after conversion.

Thank you in advance.

Angelos
Attached Files
File Type: pdf Pages from.pdf (221.7 KB, 30 views)
File Type: pdf Pages from_k2opt.pdf (221.5 KB, 29 views)
agelos100 is offline   Reply With Quote
Old 03-07-2014, 09:48 PM   #739
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 583
Karma: 2526455
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by agelos100 View Post
I have a problem with the conversion with a pdf file. There are both some large gaps at the and of the page, and top and bottom lines half deleted...
@Angelos -- add this to the "Additional options" box:

-gtr 0.1


That will lower the threshold for breaking lines apart which will allow for better selection of page breaks. The lines in your document are quite close together, plus you are squeezing them into a 3-inch wide screen. That is what is causing the issue. I will look into making this process more robust so it doesn't need such fine tweaking.
willus is offline   Reply With Quote
Old 03-08-2014, 03:54 AM   #740
agelos100
Member
agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40agelos100 is slicker than a case of WD-40
 
Posts: 21
Karma: 73000
Join Date: Oct 2013
Device: kindle
Thank you Willus.

Your suggestion worked like charm!
agelos100 is offline   Reply With Quote
Old 03-09-2014, 05:23 PM   #741
danilo93
Member
danilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texan
 
Posts: 11
Karma: 18200
Join Date: Apr 2013
Device: PRESTIGIO PER3464B
Hi! It's me again! I would really like to thank you for all your work! It's amazing! Can you help me to solve this problem: I'm trying to scan one book, but the result that I get is really unsatisfying. See for yourself:



As you can see, the picture is not cropped and I have an "empty space" on the left and on the bottom side. I've already tried option "Automatically crop scanned documents" in my scanner's software (in Advanced Document Settings), but the result was not satisfying too. See here:



The next thing that I tried was 'Deskewing' the document with Adobe Acrobat Pro, but it didn't work as well. I would really like to know how to solve this problem. I know there's always option to crop page by page in Adobe Acrobat Pro, but this is really huge book and it would take a lot of time and efforts. Then I remembered your "K2pdfopt" software. I knew there was an option of auto-straightening, but it didn't work too... Can you tell me how to solve this problem... Just to know, I don't want to optimize this document for any ebook reader. I just want to optimize IT. Thanks in advance!

Here you can download this problematic pdf:

https://mega.co.nz/#!CEIQQLxQ!9tyO0n...70mvgUg95adEt4
danilo93 is offline   Reply With Quote
Old 03-09-2014, 08:05 PM   #742
markom
Addict
markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.
 
Posts: 390
Karma: 445376
Join Date: Sep 2012
Device: sony prs t1 kindle dx ipad
Quote:
Originally Posted by danilo93 View Post
Hi! It's me again! I would really like to thank you for all your work! It's amazing! Can you help me to solve this problem: I'm trying to scan one book, but the result that I get is really unsatisfying. See for yourself:

...
You can use Briss or Pdfscissors beforehand (see the first attachment) because it is probably easier for beginners to use its graphic cropping method by fitting a rectangle on the visually overlaid pages (separately for left and right pages if needed) than k2pdfopt's commands.

http://www.mobileread.com/forums/sho...&postcount=704

and then since the text width is about 120 mm i.e. the width of 6" readers in landscape mode you can use k2pdfopt for Kindles 1-5, landscape, native mode, reflow turned off (the second attachment) or without native mode so that you get B&W pdf and smaller file size (the third attachment).
Attached Files
File Type: pdf 801010_cropped.pdf (3.12 MB, 349 views)
File Type: pdf 801010_cropped_k2opt.pdf (3.14 MB, 44 views)
File Type: pdf 801010_cropped_k2optNoNativeNoReflow.pdf (591.0 KB, 36 views)

Last edited by markom; 03-10-2014 at 08:49 AM.
markom is offline   Reply With Quote
Old 03-10-2014, 12:57 AM   #743
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 583
Karma: 2526455
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by danilo93 View Post
Hi! It's me again! I would really like to thank you for all your work! It's amazing! Can you help me to solve this problem: I'm trying to scan one book, but the result that I get is really unsatisfying. See for yourself:
Markom's method of using Briss to crop your PDF before using k2pdfopt is probably the easiest. It can also be done using k2pdfopt's new -cbox option. You can put this in the "Additional Options" box:

-cbox3-o .7,.6,5.6,8.3 -cbox1,2-e 2.3,.5,6,8.5

This crops pages 3 and 5 with one crop box and pages 1, 2, 4, and 6 with another crop box. The other options you then select with k2pdfopt (e.g. -mode fitwidth) will then apply to those cropped regions.

See the -cbox option on my command-line usage page.
willus is offline   Reply With Quote
Old 03-10-2014, 05:16 PM   #744
danilo93
Member
danilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texan
 
Posts: 11
Karma: 18200
Join Date: Apr 2013
Device: PRESTIGIO PER3464B
Thank you so much guys!!! This was really helpful. I've tried all 3 programs - Briss, Pdfscissors and K2pdfopt, but does this mean that I need to use different crop tools on each page? As I understood I need to crop page by page and I was wondering if I could crop this document with some software that can do "auto-cropping"... Is there such a thing? Of course, this document is not the whole book. This book contains over 350 pages, so it is really difficult for me to crop each page separately... Is there any way to solve this problem? As I understand, even in K2pdfopt I need to specify all parameters for each page... Am I right?
danilo93 is offline   Reply With Quote
Old 03-10-2014, 09:27 PM   #745
quanom
Junior Member
quanom can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterquanom can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterquanom can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterquanom can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterquanom can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterquanom can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterquanom can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterquanom can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterquanom can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterquanom can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterquanom can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 1
Karma: 12580
Join Date: Mar 2014
Device: Paperwhite 2nd Gen
optimized PDF to MOBI conversion

Hi,

Firstly, I create an optimized PDF file with k2pdfopt. Then, I convert that file to MOBI to use Vocabulary Builder while reading it.

But after conversion, the text in the PDF is not selectable anymore.

Is there a way to overcome this issue?

Thank you.
quanom is offline   Reply With Quote
Old 03-10-2014, 09:44 PM   #746
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 583
Karma: 2526455
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by danilo93 View Post
Thank you so much guys!!! This was really helpful. I've tried all 3 programs - Briss, Pdfscissors and K2pdfopt, but does this mean that I need to use different crop tools on each page? As I understood I need to crop page by page and I was wondering if I could crop this document with some software that can do "auto-cropping"... Is there such a thing? Of course, this document is not the whole book. This book contains over 350 pages, so it is really difficult for me to crop each page separately... Is there any way to solve this problem? As I understand, even in K2pdfopt I need to specify all parameters for each page... Am I right?
@Danilo93--Typically k2pdfopt will auto-crop out white spaces around the edges of a document, but because the scanning artifacts (edges of the paper), this will likely not work with your case because of the dark edges. If you can position the book carefully on the scanner so that the odd and even pages are in a consistent position, then my command should still work for the whole book--I figured out one crop box for the even pages (plus the cover page: 1,2e-) and one for the odd pages (3-o).

Last edited by willus; 03-10-2014 at 09:51 PM.
willus is offline   Reply With Quote
Old 03-10-2014, 09:49 PM   #747
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 583
Karma: 2526455
Join Date: Jun 2011
Location: California
Device: Kindle 2, iPad
Quote:
Originally Posted by quanom View Post
Hi,

Firstly, I create an optimized PDF file with k2pdfopt. Then, I convert that file to MOBI to use Vocabulary Builder while reading it.

But after conversion, the text in the PDF is not selectable anymore.

Is there a way to overcome this issue?

Thank you.
@quanom -- Welcome to MR forums. Thank you for posting. The default k2pdfopt conversion should maintain the selectable text in the PDF document if it was selectable to begin with. Can you post a link to the source PDF file you are converting (or a few pages of it, at least)? Or you can send me a private message and I'll tell you how to e-mail it to me so I can investigate.
willus is offline   Reply With Quote
Old 03-11-2014, 04:40 AM   #748
danilo93
Member
danilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texan
 
Posts: 11
Karma: 18200
Join Date: Apr 2013
Device: PRESTIGIO PER3464B
Quote:
Originally Posted by willus View Post
@Danilo93--Typically k2pdfopt will auto-crop out white spaces around the edges of a document, but because the scanning artifacts (edges of the paper), this will likely not work with your case because of the dark edges. If you can position the book carefully on the scanner so that the odd and even pages are in a consistent position, then my command should still work for the whole book--I figured out one crop box for the even pages (plus the cover page: 1,2e-) and one for the odd pages (3-o).
Ok. I'll try to scan whole book in the same way, and then to crop it with tools you gave me... Thank you so muuuch!
danilo93 is offline   Reply With Quote
Old 03-11-2014, 02:36 PM   #749
markom
Addict
markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.markom ought to be getting tired of karma fortunes by now.
 
Posts: 390
Karma: 445376
Join Date: Sep 2012
Device: sony prs t1 kindle dx ipad
Quote:
Originally Posted by danilo93 View Post
Thank you so much guys!!! This was really helpful. I've tried all 3 programs - Briss, Pdfscissors and K2pdfopt, but does this mean that I need to use different crop tools on each page? As I understood I need to crop page by page and I was wondering if I could crop this document with some software that can do "auto-cropping"... Is there such a thing? Of course, this document is not the whole book. This book contains over 350 pages, so it is really difficult for me to crop each page separately... Is there any way to solve this problem? As I understand, even in K2pdfopt I need to specify all parameters for each page... Am I right?
No, you can crop the whole book at once, depending whether you have chosen in pdfscissors to show left and right pages stacked together as one pile or separately as two piles so that you adjust one blue rectangle for left-pages stack and then for the right-pages stack.

the same goes for k2pdfopt too, you just copy/paste those commands -cbox3-o .7,.6,5.6,8.3 -cbox1,2-e 2.3,.5,6,8.5 into Additional options box, choose fitwidth mode(under Conversion Mode) and the whole book will be cropped for you at once.


Instructions for Briss:

Start the Briss app by double-clicking its exe file.
Load 801010.pdf file (command under file menu) entering number one (1) at the opened window, for the cover to be excluded from merging (takes about 5-10 seconds for that 801010.pdf file depending on your computer speed).
Draw(adjust) the blue rectangles over those three piles as close to the text as you wish, but there is no need to get too close to the text proper because k2pdfopt will do that later automatically.
You can then preview or just crop the file with commands under Action menu (takes 2-5 seconds for that 801010.pdf file depending on your computer speed).

Last edited by markom; 03-11-2014 at 03:24 PM.
markom is offline   Reply With Quote
Old 03-12-2014, 04:13 AM   #750
danilo93
Member
danilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texandanilo93 might easily be mistaken for a Texan
 
Posts: 11
Karma: 18200
Join Date: Apr 2013
Device: PRESTIGIO PER3464B
@Markom: Thank you so much! I'm going to try this as soon as I scan the whole book!

Quote:
Originally Posted by willus View Post
Markom's method of using Briss to crop your PDF before using k2pdfopt is probably the easiest. It can also be done using k2pdfopt's new -cbox option. You can put this in the "Additional Options" box:

-cbox3-o .7,.6,5.6,8.3 -cbox1,2-e 2.3,.5,6,8.5

This crops pages 3 and 5 with one crop box and pages 1, 2, 4, and 6 with another crop box. The other options you then select with k2pdfopt (e.g. -mode fitwidth) will then apply to those cropped regions.

See the -cbox option on my command-line usage page.
Hey, Willus! I've just remembered! I'm gonna probably need this tool again... So I wanted to ask you if you could teach me how did you discover this parameters:

-cbox3-o .7,.6,5.6,8.3 -cbox1,2-e 2.3,.5,6,8.5

?

How did you calculated crop boxes, or margins for these 6 pages? Can you teach me how to do it myself? Also, I would like to learn how to write this -cbox command from above. Can you explain it, pls?

Last edited by danilo93; 03-12-2014 at 04:18 AM.
danilo93 is offline   Reply With Quote
Reply

Tags
ebook apps, k5 tools, kindle tools, kindle touch, tools

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Viewing PDFs with another font Font PocketBook 4 11-12-2010 09:27 AM
Viewing Textbook PDFs... NJReader enTourage Archive 4 08-17-2010 06:17 PM
PRS-600 Restart bug while viewing PDFs? conundrum Sony Reader 2 03-04-2010 09:46 PM
More on viewing pdfs dso371 Bookeen 8 03-11-2008 08:15 PM
Viewing Untagged PDFs on Palm T|X Eroica Reading and Management 3 12-10-2007 02:44 PM


All times are GMT -4. The time now is 02:58 PM.


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