View Single Post
Old 01-18-2008, 06:12 PM   #167
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
Quote:
Originally Posted by tompe View Post
If you do just mobi2mobi on the input file what is the output? When you say it did not work does it mean that you got an error message or just that you did not see the image? If you do "mobi2html file.mobi unpackdir" is the coverimage then in the unpackdir?

If you send me the file I will test to add a cover image and fix eventual bugs. Send it in a private message here or visa email to tpe at ida.liu.se
Code:
jpg --outfile newmymobi.mobi
Database Name: 01_Master_and_Commander.html
      Version: 0
         Type: BOOK
      Creator: MOBI
         Seed: 293
        Resdb:
 AppInfoDirty:
        ctime: 1200688185 - Fri Jan 18 15:29:45 2008
        mtime: 1200688201 - Fri Jan 18 15:30:01 2008
      baktime: -2082844800 - Thu Dec 31 19:00:00 1903
---------------------------------------------------
FIRST IMG Record 0
---------------------------------------------------
Image record index: 265 (477 x 800)
IMAGE INDEX: 265
PDHEADER  Version: 2
PDHEADER   Length: 1078340
PDHEADER NRecords: 264
PDHEADER  Recsize: 4096
PDHEADER  Unknown: 0
MOBIHEADER    ciflg: 65535
MOBIHEADER    ciptr: 65535
MOBIHEADER  doctype: MOBI
MOBIHEADER   length: 228
MOBIHEADER booktype: 2 - BOOK
MOBIHEADER    codep: 1252
MOBIHEADER   uniqid: 2968844172
MOBIHEADER      ver: 4
MOBIHEADER  exthflg: 80
MOBIHEADER language: 9 - 9 - 0 - ENGLISH -
COVEROFFSET:
EXTH doctype: EXTH
EXTH  length: 52
EXTH n_items: 2
EXTH    item: 100 - Author - 18 - Unspecified Author
EXTH    item: 201 - CoverOffset - 4 - 0x0000
LONGTITLE: 01_Master_and_Commander.html
-----------------
Setting record 265 to 01_cover.jpg
Reading data from file: 01_cover.jpg
Setting extended header data: coveroffset - 0
EXTH setting data: coveroffset - 201 - 0 - 0x30
EXTH replacing data: 201 - 0 - 0x30
GETSTRING: Author - Unspecified Author
CoverOffset - not printable
PM on the way...
JeffElkins is offline   Reply With Quote