View Single Post
Old 05-04-2008, 05:46 PM   #503
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
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?
"image file size" is not related to "--imagerescale 0". The message means that it has tried to shrink the image file size to the maximum allowed (61K) and failed. So you should try to recompress the file to jpeg once and see if it succeeds to shrink it to below 61K.
tompe is offline   Reply With Quote