View Single Post
Old 05-02-2008, 10:31 AM   #495
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
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:
Originally Posted by jontom View Post
Hi I've been trying to convert a pdf to mobi file using initially pdfread, this seems to hang after conversion to html. So i tried the html2mobi prog from the latest windows binary (0.38) and it begins to convert but hangs after a couple of images. When I resize the image by 1 or 2% and restart the process it continues and hangs a little further on.

The error message will be something like this: Could not shrink image file size for 66.png at mobiperl/Util.pm line 555. I should mention that i am using the -- imagerescale 0 option to try and get the best image for my iliad.

Any suggestions?

Jontom
tompe, I'll take this one!

May I suggest that you create an empty file called 'debug' in the PDFRead install directory (usually C:\Program Files\PDFRead) and then try the conversion again. This time, at the end, the html and images used in making the .prc will be retained. I use a modified html2mobi (from version 0.37) that forces the 'imagerescale 0' option so as to get the largest possible images on the iLiad.

If you already have access to the resulting .html and .opf, then ignore the above.

Please post your .html and .opf files only here so that we can see if there is something going amiss with your conversion. Also, if you have any full-sized images (.png), what are their sizes generally? s/b 768x935!
nrapallo is offline   Reply With Quote