12-21-2008, 12:34 PM | #166 | |
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:
This should be used as a last resort, when rendering to normal "text" ebook fails. By the way, if you have two columns of text in your .pdf then you have a portrait view only when using the 'portrait-2col' layout mode. It displays pages like: Code:
| 1 3 | | 2 4 | Code:
| 1 | | 2 | | 3 | | 4 | Last edited by nrapallo; 12-21-2008 at 12:37 PM. |
|
12-21-2008, 04:53 PM | #167 | |
Junior Member
Posts: 7
Karma: 10
Join Date: Dec 2008
Device: Bebook
|
Quote:
I dont undestand any more...I tryend now to create the prc with prc-mobi setting with landscape but...The image are strange...the first is ok, the second is view cutted...then it's repeated... What I've to do???? Can I sent to you one of my pdf?? |
|
Advert | |
|
12-21-2008, 06:28 PM | #168 |
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
|
Sure, email me the file and I will try to see what is going on.
|
02-10-2009, 12:12 AM | #169 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2009
Device: Kindle
|
prc fails on ubuntu linux
Quote:
Any idea how I can get it to build a .prc in Ubuntu? I've installed perl, and extracted 'mobiperl' (0.0.41) into its own directory, but I've no idea what to do with it from here. It'd be wonderful if you could make PdfRead truly cross-platform in its full functionality. |
|
02-10-2009, 12:32 AM | #170 | |
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:
Second, get and install over Mobiperl my modified Mobiperl/html2mobi and use 'html2mobi' but rename it to 'NRhtml2mobi' as modifications are made to NOT reduce image sizes, and thus this program no longer is the same as tompe's 'html2mobi'. Mods to Mobiperl-0.0.37 I hope that's it!======================= - MobiPerl/MobiFile.pm (changed: my $data = MobiPerl::Util::get_image_data ($filename, 0);) - MobiPerl/Util.pm (changed: my $rescale_large_images = 0;) - Palm/Doc.pm (added version printout code from previous version) I haven't tried this out, but it should work if you also edit the edit 'output.py' and 'common.py' to replace the 'NRhtml2mobi' command with 'perl html2mobi.pl' perhaps. BTW, the original author of PDFRead, Ashish Kulkarni, is working on PDFRead v2 which will hopefully be cross-platform and output .epub, which could then be used to create .prc. The timing of (any) release is not yet known. |
|
Advert | |
|
02-10-2009, 01:07 AM | #171 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2009
Device: Kindle
|
Quote:
I've now downloaded your mod version, and copied that into the PDFRead src directory (where I run 'python pdfread.py ...'), renaming the perl script html2mobi so that now 'perl NRhtml2mobi' runs (albeit with error messages because I'm not passing it the arguments it expects). So now it's just a matter of integrating this with pdfread, right? I tried editing the two files you suggested, replacing each of the three mentions of 'NRhtml2mobi' with 'perl NRhtml2mobi' instead, but it doesn't seem to have made any difference. Any ideas? |
|
02-14-2009, 08:10 PM | #172 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2009
Device: Kindle
|
(I guess it doesn't matter too much, since I can run 'perl NRhtml2mobi' manually on the temporary html file to complete the conversion. But it would be handy if this step could be automated...)
|
02-16-2009, 08:56 PM | #173 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2009
Device: Kindle 2
|
I glanced through the format specs for posted here, and was wondering if you're going to do an update soon to support the new version of the kindle and its 16 shade grayscale display. Also, I was wondering how this handles picture heavy pdf documents, I have several technical pdfs which are scans of actual documents that I would like to carry around with me, would I be better off using this tool or converting the pdf into a folder of jpegs?
|
02-16-2009, 09:40 PM | #174 | ||
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:
|
||
02-17-2009, 01:37 PM | #175 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2009
Device: Kindle 2
|
I've tried running this on a couple pdfs I have, and I've run into the problem I thought I might. Every page in my pdf is considered an image, so when pdfread tries to rasterize it down, nothing happens, and at the end I get a html file blank of everything except the name and author info I put into the gui. I've also tried putting in a pdf I made from a ripped web tutorial and that also came out blank.
|
02-17-2009, 02:30 PM | #176 | |
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:
Perhaps the .pdf is secured/encrypted/prohibited in some way? So does PDFRead work for ANY .pdf you have? PDFRead always renders images from .pdfs irregardless of how they were created (from text or image scans). If no images were extracted, then the .pdf to images process is "broken" somehow for that .pdf. |
|
02-17-2009, 03:09 PM | #177 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2009
Device: Kindle 2
|
I can use Acrobat to export out a sequence of JPEGs, from my understanding there's no encryption or drm or anything on these pdfs, they're scanned copies of books I have.
|
02-17-2009, 03:32 PM | #178 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2009
Device: Kindle 2
|
I tried making an html with the imgdir import option, and it worked, but the quality was super low, and practically unreadable.
|
02-17-2009, 03:44 PM | #179 | |
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:
If not try converting this sample .pdf I used for the above CAA_16shades.prc, then be sure to enter the options as indicated on the image below: Click Convert and open your resulting .prc. Does it work for the sample? If not, then your installation is not right. Please reinstall (preferrably in the default location). Last edited by nrapallo; 02-17-2009 at 03:46 PM. |
|
02-17-2009, 03:56 PM | #180 |
Junior Member
Posts: 5
Karma: 10
Join Date: Feb 2009
Device: Kindle 2
|
I don't have mobi reader here so I'll have to wait till i get home to check the prc, but attempting an html failed, and the only setting I changed from your specs was the output type to html. There's probably a good chance that the install didn't work perfectly.
|
|
Similar Threads | ||||
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 |