Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-22-2008, 11:38 AM   #1
rheostaticsfan
Zealot
rheostaticsfan will become famous soon enoughrheostaticsfan will become famous soon enoughrheostaticsfan will become famous soon enoughrheostaticsfan will become famous soon enoughrheostaticsfan will become famous soon enoughrheostaticsfan will become famous soon enough
 
Posts: 104
Karma: 591
Join Date: May 2008
Device: kindle, iOS, Blackberry, Sony DPT (pdfs)
Adding a cover image to mobipocket files

Hi there,

I have spent the last few weeks learning about conversion tools around here. I had around 60 each of ereader and mobipocket files which I just ran through converting into each other's type.

I have a total of 57 .prc files that have no cover image. I was pretty careful to add cover art when converting .pdb to .prc but it's possible I forgot to click the update button on the cover image option within mobicreator.

Anyhow, I'm hoping that the smart people here can tell me how to add cover art to these mobi files. I tried using mobi2mobi but that didn't work at all. I have version 0.0.38. Mobi2mobi warns me that the image is too large (it's 228 x 340 so I don't understand that warning) and theres many lines of other text most of which is meaningless to me.

So...can anyone help me?
rheostaticsfan is offline   Reply With Quote
Old 05-22-2008, 12:01 PM   #2
Hadrien
Feedbooks.com Co-Founder
Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.Hadrien understands the importance of being earnest.
 
Hadrien's Avatar
 
Posts: 2,265
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
If you create a Mobipocket file using an opf file, you need to add the following lines in the metadata:

<x-metadata>
<EmbeddedCover>cover.png</EmbeddedCover>
</x-metadata>

Not the most user-friendly way to generate a Mobipocket file, but it works.
Hadrien is offline   Reply With Quote
Old 05-22-2008, 12:13 PM   #3
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,144
Karma: 4315826
Join Date: Oct 2007
Location: Link÷png, Sweden
Device: Nexus 7, Nexus 5, iPad 2, Kindle PW
Quote:
Originally Posted by rheostaticsfan View Post
Anyhow, I'm hoping that the smart people here can tell me how to add cover art to these mobi files. I tried using mobi2mobi but that didn't work at all. I have version 0.0.38. Mobi2mobi warns me that the image is too large (it's 228 x 340 so I don't understand that warning) and theres many lines of other text most of which is meaningless to me.
What does it say exactly?

I would guess that it says that it can not shrink the image file size to under 60K or something like that. How big is the original image file?
tompe is offline   Reply With Quote
Old 05-22-2008, 12:43 PM   #4
rheostaticsfan
Zealot
rheostaticsfan will become famous soon enoughrheostaticsfan will become famous soon enoughrheostaticsfan will become famous soon enoughrheostaticsfan will become famous soon enoughrheostaticsfan will become famous soon enoughrheostaticsfan will become famous soon enough
 
Posts: 104
Karma: 591
Join Date: May 2008
Device: kindle, iOS, Blackberry, Sony DPT (pdfs)
The original file is 42k.

I have attached a print screen of the messages.

I created this .prc by doing mobidedrm...all the text seems to be in one line and I"m having a tough time sorting out how to deal with it.
Attached Thumbnails
Click image for larger version

Name:	mobi2mobi.JPG
Views:	797
Size:	98.4 KB
ID:	12972  
rheostaticsfan is offline   Reply With Quote
Old 05-25-2008, 04:40 PM   #5
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,144
Karma: 4315826
Join Date: Oct 2007
Location: Link÷png, Sweden
Device: Nexus 7, Nexus 5, iPad 2, Kindle PW
The problem is that the cover offset is set totally wrong for some reason. It is hard to say why without having the file.

You can try to change just the coveroffset to something more sensible like 0 or 1 with --coveroffset (just this flag to mobi2mobi).
tompe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobigen there are no more files but it adds a second front cover image Xabache Kindle Formats 11 10-22-2010 05:19 AM
Adding a new cover for LRF pikoman Calibre 0 11-06-2009 03:43 PM
Adding cover image to PDF? silvijakk Bookeen 2 04-02-2009 04:33 PM
Cover Image in LRF files pdurrant Calibre 6 10-05-2008 06:02 PM
Mobipocket Cover Image Sizes pdurrant Bookeen 3 09-15-2008 09:24 PM


All times are GMT -4. The time now is 03:23 AM.


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