View Single Post
Old 02-14-2008, 04:15 PM   #250
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 nrapallo View Post
Also, thanks for including the 'mobi2imp' in version 0.0.29. That script is version 2; whereas, the fix mentioned above is in version 3 previously posted. However, version 3 also adds the ability to 'fix' corrupt images within the .prc as this is often the case when using the ebook Publisher software. You may want to just comment out this Windows-specific 'fix' line for your distribution, namely:

Code:
system "nconvert.exe", "-quiet", "-q", "85", "-resize", "100%", "100%", "$explodedir/$filename";
I wanted to update 'mobi2imp' to include your latest revisions to mobi2html for the 'huffdic' issue, but I couldn't find that fix in version 0.0.29; is it there?
I changed my code to also insert an anchor before "<". I did not test it but hopefully it works...

I could not find nconvert.exe in my version...

The huffdic issue is much more work. And as i understood it it did not work entirely correct. I have not decided yet if I need a written description of the algorithm or if the Python code is enough to avoid contamination issues...
tompe is offline   Reply With Quote