05-22-2008, 10:38 AM | #1 |
Zealot
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? |
05-22-2008, 11:01 AM | #2 |
Feedbooks.com Co-Founder
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. |
Advert | |
|
05-22-2008, 11:13 AM | #3 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
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? |
|
05-22-2008, 11:43 AM | #4 |
Zealot
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. |
05-25-2008, 03:40 PM | #5 |
Grand Sorcerer
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). |
Advert | |
|
|
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 |