Mobileread
k2pdfopt: optimizes PDFs for viewing on e-readers
#21  tannenba 09-18-2011, 11:18 AM
Thanks for the new version, this is definitely the best PDF optimizer out there! I would say the reading experience for 75% of all the PDFs I read on my Kindle (and I read a lot) is vastly improved thanks to this program.

I found a PDF file that crashes the new version 1.25 of k2pdfopt. IIRC, conversion of this file used to work with older releases. The PDF file is here:
http://people.csail.mit.edu/dnj/publications/alloy-comparison.pdf
If I convert this file using v1.25 on Windows XP (win32) , it crashes a couple of pages into the file. If I use the "-gs" option, it completes successfully. Perhaps the new version has an updated PDF library that has a regression?
Reply 

#22  johnnyb 09-18-2011, 08:24 PM
It works fine (and thx a lot for it)... only how am I able to append options on Mac? It seems it always interprets them as part of the file path and thus never makes use of them (justification is something I would really like to do)...
Reply 

#23  willus 09-18-2011, 11:29 PM
Quote tannenba
Thanks for the new version, this is definitely the best PDF optimizer out there! I would say the reading experience for 75% of all the PDFs I read on my Kindle (and I read a lot) is vastly improved thanks to this program.

I found a PDF file that crashes the new version 1.25 of k2pdfopt. IIRC, conversion of this file used to work with older releases. The PDF file is here:
http://people.csail.mit.edu/dnj/publications/alloy-comparison.pdf
If I convert this file using v1.25 on Windows XP (win32) , it crashes a couple of pages into the file. If I use the "-gs" option, it completes successfully. Perhaps the new version has an updated PDF library that has a regression?
Sorry--I can't reproduce this. That PDF converts fine on my PC. What CPU do you have and how much RAM? I haven't updated mupdf since I incorporated it, so a regression in mupdf can't be it. Have you tried the conversion on a different PC? It could be some sort of variable not being initialized correctly so that it doesn't reproduce consistently. Or an array out of bounds (which often has inconsistent results). Sorry! At least ghostscript saved the day. BTW, I've posted v1.26.
Reply 

#24  willus 09-18-2011, 11:38 PM
Quote johnnyb
It works fine (and thx a lot for it)... only how am I able to append options on Mac? It seems it always interprets them as part of the file path and thus never makes use of them (justification is something I would really like to do)...
You should be able to create a script like so:
1. (Start terminal shell and type in 2 - 5 below)
2. cd Desktop
3. cat > k2pdfopt_custom
./k2pdfopt -ui -j 0 -odpi 250
<Ctrl-D>
4. chmod 755 k2pdfopt_custom
5. exit
Now k2pdfopt_custom should behave like k2pdfopt but with the new command line options (which are just an example). Add the -ui so that the interactive menu still comes up.
Reply 

#25  SkyDream 10-14-2011, 08:48 AM
Unfortunately i'm getting "format error: not a PDF or corrupted." when trying to open the result after converting with "-odpi 150" or without any option. The source PDF is about 3.6MB and the result varies between 1.5M and 300KB.

The source contains pictures, 2- and 3-columns pages.

I'm using the latest version (just downloaded) for Windows running XP SP3.

Any idea ?
Reply 

#26  willus 10-14-2011, 09:54 PM
Quote SkyDream
Unfortunately i'm getting "format error: not a PDF or corrupted." when trying to open the result after converting with "-odpi 150" or without any option. The source PDF is about 3.6MB and the result varies between 1.5M and 300KB.

The source contains pictures, 2- and 3-columns pages.

I'm using the latest version (just downloaded) for Windows running XP SP3.

Any idea ?
If you can post the PDF files (source and result) or e-mail them to me, I'll be happy to investigate.
Reply 

#27  SkyDream 10-15-2011, 05:37 AM
Quote willus
If you can post the PDF files (source and result) or e-mail them to me, I'll be happy to investigate.
Hmmm..little bit tricky as i got it from a friend who got it from another one who in turn downloaded it from some other website which is located in the far east of europe...

but i'll check with some other PDF and come back to it...
Reply 

#28  SkyDream 10-15-2011, 02:41 PM
Quote SkyDream
but i'll check with some other PDF and come back to it...
Ok, i check with other PDFs but no problem.
Then i checked the PDF in question again on my other PC running Vista instead of XP -> no problem. Tried again under XP -> Error. Again under Vista -> Ok.
Reply 

#29  willus 10-16-2011, 12:05 AM
Quote SkyDream
Ok, i check with other PDFs but no problem.
Then i checked the PDF in question again on my other PC running Vista instead of XP -> no problem. Tried again under XP -> Error. Again under Vista -> Ok.
Sorry. I'd really need to see the file to track down whatever is happening in XP. I understand if you can't post it, though.
Reply 

#30  ThomasC 10-16-2011, 02:19 AM
Quote SkyDream
Ok, i check with other PDFs but no problem.
Then i checked the PDF in question again on my other PC running Vista instead of XP -> no problem. Tried again under XP -> Error. Again under Vista -> Ok.
You are not trying to use the win64 version (I'm using this with windows 7 no problem)?

I think there is a win32 version, probably for xp, or maybe an older xp version is available?

Cheers,
Tom
Reply 

 « First  « Prev Next »  Last »  (3/203)
Today's Posts | Search this Thread | Login | Register