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, 10: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: 107
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, 11:01 AM   #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,263
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
Advert
Old 05-22-2008, 11:13 AM   #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,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, 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, 11:43 AM   #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: 107
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:	1409
Size:	98.4 KB
ID:	12972  
rheostaticsfan is offline   Reply With Quote
Old 05-25-2008, 03: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,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, 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
Advert
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 04:19 AM
Adding a new cover for LRF pikoman Calibre 0 11-06-2009 02:43 PM
Adding cover image to PDF? silvijakk Bookeen 2 04-02-2009 03:33 PM
Cover Image in LRF files pdurrant Calibre 6 10-05-2008 05:02 PM
Mobipocket Cover Image Sizes pdurrant Bookeen 3 09-15-2008 08:24 PM


All times are GMT -4. The time now is 08:46 PM.


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