Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 05-02-2008, 10:39 AM   #496
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I have a suggestion... Since we have Python code available to uncompress huffdic compress Mobipocket eBooks, can that sort of functionality be added to mobiperl? Thanks!
JSWolf is offline   Reply With Quote
Old 05-02-2008, 10:52 AM   #497
jontom
Junior Member
jontom began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2008
Device: iliad
html2mobi error continued

Thanks for the quick response. I do have access to the html as it ends up in a temp folder. The image sizes are at largest 768x935 (output by PDFread). I could probably batch resize the whole lot down 1-2% and there would be no problem but I would like to find out the reason for the error. I will post one of the faulty png files now
jontom is offline   Reply With Quote
Advert
Old 05-02-2008, 10:57 AM   #498
jontom
Junior Member
jontom began at the beginning.
 
Posts: 6
Karma: 10
Join Date: May 2008
Device: iliad
here is the html (cant seem to upload it says invalid file)

<html>
<head>
<title>Sciam</title>
<meta name="author" content="jono">
<meta name="genre" content="jono">
<meta name="category" content="jono">
<meta name="generator" content="PDFRead v1.8.2">
<style>p {text-indent:0em; margin-left:0em; margin-right:0em; margin-top:0em; margin-bottom:0em; text-align:right}</style>
</head>
<body>
<h2 align="center">Sciam</h2>
<h2 align="center">by</h2>
<h2 align="center">jono</h2>

<p style="page-break-before: always">
<p><a name="img0"></a><img src="0.png"/></p>
<p><a name="img1"></a><img src="1.png"/></p>
<p><a name="img2"></a><img src="2.png"/></p>
<p><a name="img3"></a><img src="3.png"/></p>
<p><a name="img4"></a><img src="4.png"/></p>
<p><a name="img5"></a><img src="5.png"/></p>
<p><a name="img6"></a><img src="6.png"/></p>
<p><a name="img7"></a><img src="7.png"/></p>
<p><a name="img8"></a><img src="8.png"/></p>
<p><a name="img9"></a><img src="9.png"/></p>
<p><a name="img10"></a><img src="10.png"/></p>
<p><a name="img11"></a><img src="11.png"/></p>
<p><a name="img12"></a><img src="12.png"/></p>
<p><a name="img13"></a><img src="13.png"/></p>
<p><a name="img14"></a><img src="14.png"/></p>
<p><a name="img15"></a><img src="15.png"/></p>
<p><a name="img16"></a><img src="16.png"/></p>
<p><a name="img17"></a><img src="17.png"/></p>
<p><a name="img18"></a><img src="18.png"/></p>
<p><a name="img19"></a><img src="19.png"/></p>
<p><a name="img20"></a><img src="20.png"/></p>
<p><a name="img21"></a><img src="21.png"/></p>
<p><a name="img22"></a><img src="22.png"/></p>
<p><a name="img23"></a><img src="23.png"/></p>
<p><a name="img24"></a><img src="24.png"/></p>
<p><a name="img25"></a><img src="25.png"/></p>
<p><a name="img26"></a><img src="26.png"/></p>
<p><a name="img27"></a><img src="27.png"/></p>
<p><a name="img28"></a><img src="28.png"/></p>
<p><a name="img29"></a><img src="29.png"/></p>
<p><a name="img30"></a><img src="30.png"/></p>
<p><a name="img31"></a><img src="31.png"/></p>
<p><a name="img32"></a><img src="32.png"/></p>
<p><a name="img33"></a><img src="33.png"/></p>
<p><a name="img34"></a><img src="34.png"/></p>
<p><a name="img35"></a><img src="35.png"/></p>
<p><a name="img36"></a><img src="36.png"/></p>
<p><a name="img37"></a><img src="37.png"/></p>
<p><a name="img38"></a><img src="38.png"/></p>
<p><a name="img39"></a><img src="39.png"/></p>
<p><a name="img40"></a><img src="40.png"/></p>
<p><a name="img41"></a><img src="41.png"/></p>
<p><a name="img42"></a><img src="42.png"/></p>
<p><a name="img43"></a><img src="43.png"/></p>
<p><a name="img44"></a><img src="44.png"/></p>
<p><a name="img45"></a><img src="45.png"/></p>
<p><a name="img46"></a><img src="46.png"/></p>
<p><a name="img47"></a><img src="47.png"/></p>
<p><a name="img48"></a><img src="48.png"/></p>
<p><a name="img49"></a><img src="49.png"/></p>
<p><a name="img50"></a><img src="50.png"/></p>
<p><a name="img51"></a><img src="51.png"/></p>
<p><a name="img52"></a><img src="52.png"/></p>
<p><a name="img53"></a><img src="53.png"/></p>
<p><a name="img54"></a><img src="54.png"/></p>
<p><a name="img55"></a><img src="55.png"/></p>
<p><a name="img56"></a><img src="56.png"/></p>
<p><a name="img57"></a><img src="57.png"/></p>
<p><a name="img58"></a><img src="58.png"/></p>
<p><a name="img59"></a><img src="59.png"/></p>
<p><a name="img60"></a><img src="60.png"/></p>
<p><a name="img61"></a><img src="61.png"/></p>
<p><a name="img62"></a><img src="62.png"/></p>
<p><a name="img63"></a><img src="63.png"/></p>
<p><a name="img64"></a><img src="64.png"/></p>
<p><a name="img65"></a><img src="65.png"/></p>
<p><a name="img66"></a><img src="66.png"/></p>
<p><a name="img67"></a><img src="67.png"/></p>
<p><a name="img68"></a><img src="68.png"/></p>
<p><a name="img69"></a><img src="69.png"/></p>
<p><a name="img70"></a><img src="70.png"/></p>
<p><a name="img71"></a><img src="71.png"/></p>
<p><a name="img72"></a><img src="72.png"/></p>
<p><a name="img73"></a><img src="73.png"/></p>
<p><a name="img74"></a><img src="74.png"/></p>
<p><a name="img75"></a><img src="75.png"/></p>
<p><a name="img76"></a><img src="76.png"/></p>
<p><a name="img77"></a><img src="77.png"/></p>
<p><a name="img78"></a><img src="78.png"/></p>
<p><a name="img79"></a><img src="79.png"/></p>
<p><a name="img80"></a><img src="80.png"/></p>
<p><a name="img81"></a><img src="81.png"/></p>
<p><a name="img82"></a><img src="82.png"/></p>
<p><a name="img83"></a><img src="83.png"/></p>
<p><a name="img84"></a><img src="84.png"/></p>
<p><a name="img85"></a><img src="85.png"/></p>
<p><a name="img86"></a><img src="86.png"/></p>
<p><a name="img87"></a><img src="87.png"/></p>
<p><a name="img88"></a><img src="88.png"/></p>
<p><a name="img89"></a><img src="89.png"/></p>
<p><a name="img90"></a><img src="90.png"/></p>
<p><a name="img91"></a><img src="91.png"/></p>
<p><a name="img92"></a><img src="92.png"/></p>
<p><a name="img93"></a><img src="93.png"/></p>
<p><a name="img94"></a><img src="94.png"/></p>
<p><a name="img95"></a><img src="95.png"/></p>
<p><a name="img96"></a><img src="96.png"/></p>
<p><a name="img97"></a><img src="97.png"/></p>
<p><a name="img98"></a><img src="98.png"/></p>
<p><a name="img99"></a><img src="99.png"/></p>
<p><a name="img100"></a><img src="100.png"/></p>
<p><a name="img101"></a><img src="101.png"/></p>
<p><a name="img102"></a><img src="102.png"/></p>
<p><a name="img103"></a><img src="103.png"/></p>
<p><a name="img104"></a><img src="104.png"/></p>
<p><a name="img105"></a><img src="105.png"/></p>
<p><a name="img106"></a><img src="106.png"/></p>
<p><a name="img107"></a><img src="107.png"/></p>
<p><a name="img108"></a><img src="108.png"/></p>
<p><a name="img109"></a><img src="109.png"/></p>
<p><a name="img110"></a><img src="110.png"/></p>
<p><a name="img111"></a><img src="111.png"/></p>
<p><a name="img112"></a><img src="112.png"/></p>
<p><a name="img113"></a><img src="113.png"/></p>
<p><a name="img114"></a><img src="114.png"/></p>
<p><a name="img115"></a><img src="115.png"/></p>
<p><a name="img116"></a><img src="116.png"/></p>
<p><a name="img117"></a><img src="117.png"/></p>
<p><a name="img118"></a><img src="118.png"/></p>
<p><a name="img119"></a><img src="119.png"/></p>
<p><a name="img120"></a><img src="120.png"/></p>
<p><a name="img121"></a><img src="121.png"/></p>
<p><a name="img122"></a><img src="122.png"/></p>
<p><a name="img123"></a><img src="123.png"/></p>
<p><a name="img124"></a><img src="124.png"/></p>
<p><a name="img125"></a><img src="125.png"/></p>
<p><a name="img126"></a><img src="126.png"/></p>
<p><a name="img127"></a><img src="127.png"/></p>
<p><a name="img128"></a><img src="128.png"/></p>
<p><a name="img129"></a><img src="129.png"/></p>
<p><a name="img130"></a><img src="130.png"/></p>
<p><a name="img131"></a><img src="131.png"/></p>
<p><a name="img132"></a><img src="132.png"/></p>
<p><a name="img133"></a><img src="133.png"/></p>
<p><a name="img134"></a><img src="134.png"/></p>
<p><a name="img135"></a><img src="135.png"/></p>
<p><a name="img136"></a><img src="136.png"/></p>
<p><a name="img137"></a><img src="137.png"/></p>
<p><a name="img138"></a><img src="138.png"/></p>
<p><a name="img139"></a><img src="139.png"/></p>
<p><a name="img140"></a><img src="140.png"/></p>
<p><a name="img141"></a><img src="141.png"/></p>
<p><a name="img142"></a><img src="142.png"/></p>
<p><a name="img143"></a><img src="143.png"/></p>
<p><a name="img144"></a><img src="144.png"/></p>
<p><a name="img145"></a><img src="145.png"/></p>
<p><a name="img146"></a><img src="146.png"/></p>
<p><a name="img147"></a><img src="147.png"/></p>
<p><a name="img148"></a><img src="148.png"/></p>
<p><a name="img149"></a><img src="149.png"/></p>
<p><a name="img150"></a><img src="150.png"/></p>
<p><a name="img151"></a><img src="151.png"/></p>
<p><a name="img152"></a><img src="152.png"/></p>
<p><a name="img153"></a><img src="153.png"/></p>
<p><a name="img154"></a><img src="154.png"/></p>
<p><a name="img155"></a><img src="155.png"/></p>
<p><a name="img156"></a><img src="156.png"/></p>
<p><a name="img157"></a><img src="157.png"/></p>
<p><a name="img158"></a><img src="158.png"/></p>
<p><a name="img159"></a><img src="159.png"/></p>
<p><a name="img160"></a><img src="160.png"/></p>
<p><a name="img161"></a><img src="161.png"/></p>
<p><a name="img162"></a><img src="162.png"/></p>
<p><a name="img163"></a><img src="163.png"/></p>
<p><a name="img164"></a><img src="164.png"/></p>
<p><a name="img165"></a><img src="165.png"/></p>
</body>
</html>
jontom is offline   Reply With Quote
Old 05-02-2008, 10:59 AM   #499
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Have you actually looked at what these PNG files are? it sounds like they may be the pages of the book given that there are 165 of them.
JSWolf is offline   Reply With Quote
Old 05-02-2008, 11:45 AM   #500
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
<html> ...
</html>
This .html seems to be OK!

If you have Mobipocket Creator installed, can you load the .opf and create a .prc using that. Does it work? If so, then the images produced cause html2mobi grief.

Otherwise, you may want to try updated versions of pngnq.exe and libpng13.dll attached to see if they help. Be sure to keep a backup of the old versions before replacing them with the attached version, if you want to go back.

Can you also try what JSWolf recommended above i.e convert the .png to .jpg and edit the .html to change the image filename endings from .png to .jpg.

In the end, if the images are 'corrupt' somehow then one of the above methods can help resolve your issue.

Good luck!
Attached Files
File Type: zip libpng13.zip (79.6 KB, 352 views)
File Type: zip pngnq.zip (30.3 KB, 335 views)
nrapallo is offline   Reply With Quote
Advert
Old 05-02-2008, 11:49 AM   #501
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 JSWolf View Post
Have you actually looked at what these PNG files are? it sounds like they may be the pages of the book given that there are 165 of them.
Yes, PDFRead creates images of the .pdf pages and combines them (after manipulating them internally) into an ebook.

*plug* Have you ever used it? *plug*

Last edited by nrapallo; 05-02-2008 at 05:47 PM.
nrapallo is offline   Reply With Quote
Old 05-02-2008, 12:43 PM   #502
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
If I need to deal with PDF, I use PDFLRF.
JSWolf is offline   Reply With Quote
Old 05-04-2008, 04: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
Old 05-04-2008, 09:44 PM   #504
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 tompe View Post
"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.
But why is the '--imagerescale 0' flag still allowing mobiperl to try and reduce the image size (in total bytes) to below the Palm OS .prc limit? Does the iLiad have this limitation as well? What about Mobipocket Reader on the PC?

Most, if not all, of HarryT's illustrations exceed this for the .prc versions he prepares.

Are you being cautious in your mobiperl coding or is there a problem with non-jpeg images being used?
nrapallo is offline   Reply With Quote
Old 05-05-2008, 04:44 AM   #505
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
But why is the '--imagerescale 0' flag still allowing mobiperl to try and reduce the image size (in total bytes) to below the Palm OS .prc limit? Does the iLiad have this limitation as well? What about Mobipocket Reader on the PC?

Most, if not all, of HarryT's illustrations exceed this for the .prc versions he prepares.

Are you being cautious in your mobiperl coding or is there a problem with non-jpeg images being used?
Because I am following the specification. --imagerescale is only concerned with the actual size of the image and have nothing to do with the image data size in bytes.

I can understand that making changes in actual image size because of a bug in one reader is something you might not want to do. But I think it is wrong to produce MobiPocket books that cannot be read on a Palm device.
tompe is offline   Reply With Quote
Old 05-05-2008, 05:50 AM   #506
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,554
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by nrapallo View Post
Most, if not all, of HarryT's illustrations exceed this for the .prc versions he prepares.
The original illustrations do, but I think that Mobi Creator (which is what I use) recompresses the files to shrink them down to 61k. You get a warning from Mobi Creator if it thinks that the resulting book won't work on Palm devices - that's only happened with (if I recall recorrectly) two of the books I've created.
HarryT is offline   Reply With Quote
Old 05-05-2008, 08:01 AM   #507
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 tompe View Post
Because I am following the specification. --imagerescale is only concerned with the actual size of the image and have nothing to do with the image data size in bytes.

I can understand that making changes in actual image size because of a bug in one reader is something you might not want to do. But I think it is wrong to produce MobiPocket books that cannot be read on a Palm device.
Thanks for the explanation. At least now I am better informed.
nrapallo is offline   Reply With Quote
Old 05-11-2008, 03:33 PM   #508
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Bad problem with 0.38

I'm getting the following error with a series of books I'm converting from .oeb/.lit

Quote:
mobi2html myfile.mobi
FULLFILENAME: myfile.mobi
FILENAME: myfile.mobi
UNPACK DIRECTORY: unpacked
bogus database name! is this really a PalmOS file? at /usr/local/share/perl/5.8.8/Palm/PDB.pm line 537.
Both lit2mobi and opf2mobi seem to process the file(s) OK, (fbreader reads the resulting .mobi file) but mobi2html chokes every time.

Extra: A mobi file produced with html2mobi won't uncompress either.

Last edited by JeffElkins; 05-11-2008 at 03:37 PM.
JeffElkins is offline   Reply With Quote
Old 05-11-2008, 04:15 PM   #509
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 JeffElkins View Post
I'm getting the following error with a series of books I'm converting from .oeb/.lit



Both lit2mobi and opf2mobi seem to process the file(s) OK, (fbreader reads the resulting .mobi file) but mobi2html chokes every time.

Extra: A mobi file produced with html2mobi won't uncompress either.
Strange. I just tested:
Code:
html2mobi simple.html
mobi2html simple.mobi
and it did work. If you give me some test files I will look at it. Put them in a ticket in the track at

https://dev.mobileread.com/trac/mobiperl/
or make them available in some other way.

I do not have the string "bogus" in my PDB.pm. So what version are you using? I seem to have "$Id: PDB.pm,v 1.29 2002/11/03 16:43:16 "
tompe is offline   Reply With Quote
Old 05-11-2008, 07:06 PM   #510
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
>>/usr/local/share/perl/5.8.8/Palm/PDB.pm line 537.

Tommy, I'm starting to think that this isn't your error. You don't install anything into /usr/local/share/perl, AFAIK. I'm going to mull this one over for a while...
JeffElkins is offline   Reply With Quote
Reply

Tags
mobi2mobi, mobils


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobi2Mobi Mobi2Mobi v0.13 - GUI for Mobiperl tools Jad Kindle Formats 476 03-15-2015 05:51 PM
Tools for Editing Kindle .mobi Files? GJN Kindle Formats 33 12-26-2013 02:05 PM
Handy Perl Script to convert HTML0 files to smartquotes maggotb0y Sony Reader 0 04-12-2007 11:49 AM
PRS-500 Perl tools to generate Reader content TadW Sony Reader Dev Corner 0 01-08-2007 05:55 AM
gmail copy (gmcp) - Perl script to copy files to/from Gmail Colin Dunstan Lounge 0 09-04-2004 01:24 PM


All times are GMT -4. The time now is 06:45 AM.


MobileRead.com is a privately owned, operated and funded community.