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 06-29-2014, 07:12 AM   #826
tigerjack89
Member
tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 10
Karma: 50526
Join Date: Jun 2014
Device: Kindle 6 WiFi
Also, I have a scanned PDF with some underlines and some gray stains. What I obtained from the conversion is something like the attached image (and this is yet a great result btw ).
There is some way to have better results?

Last edited by tigerjack89; 06-30-2014 at 12:02 PM.
tigerjack89 is offline   Reply With Quote
Old 06-29-2014, 09:17 AM   #827
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: 1,272
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by tigerjack89 View Post
I tried to open the file with different readers, but I can't see this grey line on the PDF. Am I going blind or am I missing something?
The line is at the very right edge of the page, so it is difficult to see. I had to really zoom in with my reader to convince myself.

Quote:
Originally Posted by tigerjack89 View Post
How can I see the dpi of the images?
I zoomed in to a very high magnification and manually did an approximate pixel count over a small region. But it's not that important to know. You can just try a few different values for -odpi and you should be able to tell when the output quality stops improving.

Quote:
Originally Posted by tigerjack89 View Post
Also, I have a scanned PDF with some underlines and some gray stains. What I obtained from the conversion is something like the attached image (and this is yet a great result btw ).
There is some way to have better results?
You might try adjusting the white threshold value (-wt option -- see the list of command line options). Start with -wt 175 and if that doesn't work, try lowering that value. As you lower the value, the processing should become more tolerant to the gray stains, but it also might have trouble picking up the actual text and other features if you go too low. You could also try a different contrast value (-cmax option).
willus is offline   Reply With Quote
Advert
Old 06-29-2014, 10:47 AM   #828
tigerjack89
Member
tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 10
Karma: 50526
Join Date: Jun 2014
Device: Kindle 6 WiFi
ty ty
I had never thought it was possible

I fix the problem using -wt 100 with -odpi 150 or -wt 80 with -odpi 200.
Btw, what is the range span of -cmax? Is there any good value to start from?
tigerjack89 is offline   Reply With Quote
Old 06-29-2014, 12:30 PM   #829
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: 1,272
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by tigerjack89 View Post
ty ty
I had never thought it was possible

I fix the problem using -wt 100 with -odpi 150 or -wt 80 with -odpi 200.
Btw, what is the range span of -cmax? Is there any good value to start from?
There is no limit to cmax, though realistically you shouldn't need to go beyond 10 or so. The value, if positive, only specifies a limit which k2pdfopt is not allowed to exceed. If k2pdfopt thinks a lower value works better, it will use that. Use a negative value to force the value to be used. The default value is 2.
willus is offline   Reply With Quote
Old 06-29-2014, 05:27 PM   #830
Jorram
Junior Member
Jorram can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterJorram can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterJorram can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterJorram can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterJorram can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterJorram can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterJorram can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterJorram can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterJorram can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterJorram can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterJorram can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 2
Karma: 12678
Join Date: May 2011
Device: Amazon Kindle 3
Hi Willus, I just stumbled across your amazing tool and thought I should repeat thousands others in thanking you for your efforts and persistence to improve it!

I was wondering if anyone has tried using Calibre to convert the resulting PDFs into MOBIs. I wanted to search for answers to this question but didn't find any meaningful results.

The reason i ask is because I'm dying to have PDF covers in cover view and from what I've read so far it seems that no matter how good the PDF output is, it's most likely that covers don't show for PDFs on the kindle (i have a kindle paperwhite).

For this reason only I'm considering converting to MOBI. For bitmap-based PDFs i guess the conversion is painless but i'd rather have the native output PDFs and so i was wondering if Calibre's conversion to MOBI would screw up your brilliant results. Has anybody tried that?
Jorram is offline   Reply With Quote
Advert
Old 06-29-2014, 08:13 PM   #831
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: 1,272
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by Jorram View Post
Hi Willus, I just stumbled across your amazing tool and thought I should repeat thousands others in thanking you for your efforts and persistence to improve it!

I was wondering if anyone has tried using Calibre to convert the resulting PDFs into MOBIs. I wanted to search for answers to this question but didn't find any meaningful results.

The reason i ask is because I'm dying to have PDF covers in cover view and from what I've read so far it seems that no matter how good the PDF output is, it's most likely that covers don't show for PDFs on the kindle (i have a kindle paperwhite).

For this reason only I'm considering converting to MOBI. For bitmap-based PDFs i guess the conversion is painless but i'd rather have the native output PDFs and so i was wondering if Calibre's conversion to MOBI would screw up your brilliant results. Has anybody tried that?
@Jorram -- thank you for the post and nice comments. Unfortunately I have little first hand experience with calibre or MOBI files. But there should be a number of experts here at MR. I wonder if your post wouldn't be better off in the MOBI sub-forum? You could request that a moderator move it if you think so. Hopefully some others will chime in.
willus is offline   Reply With Quote
Old 06-30-2014, 12:38 PM   #832
tigerjack89
Member
tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!tigerjack89 is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 10
Karma: 50526
Join Date: Jun 2014
Device: Kindle 6 WiFi
Quote:
Originally Posted by willus View Post
There is no limit to cmax, though realistically you shouldn't need to go beyond 10 or so. The value, if positive, only specifies a limit which k2pdfopt is not allowed to exceed. If k2pdfopt thinks a lower value works better, it will use that. Use a negative value to force the value to be used. The default value is 2.
thanks again for your help

Just a little bug to signal.
If there is yet a file with the same name of the output file to be created, it tells something like "Do you want to replace it?"; so far so good.
But if the previous file is currently opened (and then locked) by another program, k2pdfopt just closes automatically without any message.
tigerjack89 is offline   Reply With Quote
Old 07-03-2014, 07:41 AM   #833
sounonyma
Junior Member
sounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 3
Karma: 12692
Join Date: Jul 2014
Device: kindle 4
Thanks for this program, it really helps.
But I also read in japanese and I was ondering if it was possible to make k2pdfopt recognize a text in japanese (to read from the top to the bottom like in this text :
http://dl.free.fr/cpUrN4Tmk) ?
sounonyma is offline   Reply With Quote
Old 07-03-2014, 08:37 AM   #834
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: 1,272
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by sounonyma View Post
Thanks for this program, it really helps.
But I also read in japanese and I was ondering if it was possible to make k2pdfopt recognize a text in japanese (to read from the top to the bottom like in this text :
http://dl.free.fr/cpUrN4Tmk) ?
@sounonyma -- Welcome to MR! I cannot see the link to your file. I do not speak French and don't see an obvious download link. Can you attach it to a post?
willus is offline   Reply With Quote
Old 07-03-2014, 08:42 AM   #835
sounonyma
Junior Member
sounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 3
Karma: 12692
Join Date: Jul 2014
Device: kindle 4
Sorry, here is the photo.
sounonyma is offline   Reply With Quote
Old 07-04-2014, 12:54 AM   #836
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: 1,272
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by sounonyma View Post
Sorry, here is the photo.
It is meant to be read starting with the right-most column of characters, correct?
willus is offline   Reply With Quote
Old 07-04-2014, 02:58 AM   #837
sounonyma
Junior Member
sounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametersounonyma can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 3
Karma: 12692
Join Date: Jul 2014
Device: kindle 4
yes, from right to left and top to bottom.
sounonyma is offline   Reply With Quote
Old 07-04-2014, 01:20 PM   #838
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: 1,272
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by sounonyma View Post
yes, from right to left and top to bottom.
k2pdfopt will not "wrap" columns of text the same way it can wrap rows of text. The best I can offer is to use the settings shown in the attached screen shot. I've also attached your sample as a PDF.
Attached Thumbnails
Click image for larger version

Name:	k2screenshot.png
Views:	273
Size:	127.6 KB
ID:	124905  
Attached Files
File Type: pdf sample.pdf (311.4 KB, 232 views)
willus is offline   Reply With Quote
Old 07-05-2014, 09:48 AM   #839
mike2003
Member
mike2003 has a certain pleonastic somethingmike2003 has a certain pleonastic somethingmike2003 has a certain pleonastic somethingmike2003 has a certain pleonastic somethingmike2003 has a certain pleonastic somethingmike2003 has a certain pleonastic somethingmike2003 has a certain pleonastic somethingmike2003 has a certain pleonastic somethingmike2003 has a certain pleonastic somethingmike2003 has a certain pleonastic somethingmike2003 has a certain pleonastic something
 
Posts: 11
Karma: 18680
Join Date: Aug 2013
Device: none
where is all profile store?
why this so simple app dont use "portable concept"???
i loose all my profile after reinstalling win7
mike2003 is offline   Reply With Quote
Old 07-05-2014, 11:59 AM   #840
Smith-Corona
Junior Member
Smith-Corona can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterSmith-Corona can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterSmith-Corona can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterSmith-Corona can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterSmith-Corona can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterSmith-Corona can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterSmith-Corona can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterSmith-Corona can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterSmith-Corona can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterSmith-Corona can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterSmith-Corona can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 3
Karma: 12690
Join Date: Jul 2014
Device: Nook HD+
Problem with margins

hi Willus,

first, thanks for a very useful piece of software, it opens up many reading possibilities. I can do some basic things with k2pdfopt, but I am having trouble understanding how margin settings work.

First of all, I am not sure what "Crop margins" means. To me that suggests, how much would you like to crop the margins by, ie how much would you like to chop off. But the default setting of 0.00 removes the margin altogether, so I guess "Crop margins" refers to the actual margin width? I've tried various combinations of right and left "crop margins" and it never seems to do what I want it to do, which is to *set* the margins to a certain width. Increasing the margin values just seems to "eat into" the text width.

What I would like to do is set margins relative, not to the text, but to the page edge. I have some PDFs with widely varying margins on each page, because of sidebars etc. Because k2pdfopt sets margins relative to the text, I end up with different font sizes, depending on whether k2pdfopt is working with a wide margin page or a narrow margin page. This is with default settings, ie margin = 0. I have also tried "trim" and for the most part this seems to keep font sizes the same, but then the pages end up as very different sizes...

So basically I want all the pages cropped as much as they can be with reference to the maximum text width found in the document (with column set to 1). Then to make all the pages that size, and have the font the same size throughout.

I am using Native PDF Output to keep the file size down.

cheers

Smith-Corona
Smith-Corona 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 08:27 AM
Viewing Textbook PDFs... NJReader enTourage Archive 4 08-17-2010 05:17 PM
PRS-600 Restart bug while viewing PDFs? conundrum Sony Reader 2 03-04-2010 08:46 PM
More on viewing pdfs dso371 Bookeen 8 03-11-2008 07:15 PM
Viewing Untagged PDFs on Palm T|X Eroica Reading and Management 3 12-10-2007 01:44 PM


All times are GMT -4. The time now is 09:07 AM.


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