Thread: Import cover
View Single Post
Old 01-24-2008, 06:05 AM   #17
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,557
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by tompe View Post
When you say file list do you mean in the manifest and in the spine then?
Yes, exactly.

Quote:
This seems like a bug in MobiPocket Creator then. According to the specification of opf files I read all files should be added in the manifest. And if a file is missing from the spine you should automatically append the missing files in the tools that uses the opf file.

When you unpack a file with clit you get the image files in the manifest. If you run MobiPocket Creator on that opf file do you really get two images?
I don't know what happens with those, but when you create a book manually using MobiPocket Creator, from an HTML file with embedded links to pictures, then if you add the image file to the "Publication Files" page of Mobi Creator, you'll find that the size of the resulting book will increase by DOUBLE the size of the image file.

Eg, suppose you have a book which, without pictures, is 1MB in size, and you add a picture to it (using an <IMG> link) which is 100kb in size. Ignoring picture resizing for the moment, if you just rebuild the book, you'll find that the size of the book increases to 1.1MB, as you'd expect.

If, however, you add the picture to the "Publication Files" page and then re-build the book, you'll find that it's now 1.2MB in size - the picture is being included in the book TWICE - once by the <IMG> link and again by it being in the manifest.

I don't know if this is a bug or not, but it's certainly the way that it works - try it and see!
HarryT is offline   Reply With Quote