12-02-2009, 04:33 AM | #1 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Conversion problem: HTML + pictures -> Mobipocket
Hi,
I recently ran into a problem when trying to convert a HTML file with quite a few pictures to Mobipocket. Basically, whenever I converted to Mobi, the pictures in the resulting ebook were resized to about 10 px size from an original size of about 200-300 px (widthwise). This is true regardless of the original file format- and believe me, I tried quite a few of those- so I'm inclined to blame the Mobipocket conversion process. Should it matter, this is the "history" of the file I had problems with: I first created it using Mobipocket Creator from a HTML and GIF pictures downloaded from the web. Creator, strangely enough, outputs PRC files (which I suspect are just Mobi files with another extension, is this true?). A few days ago I wanted to change the metadata a bit, so I imported the PRC into Calibre, set the metadata and started conversion. After running into the problem as above, I converted to HTML to have a look at the original files again (which I deleted after having finished my original conversion in Creator) and tried again using several input formats, with same result for every format I tried. So, basically, my question boils down to this: Is it possible to disable picture processing in the Mobipocket conversion pipeline? If it helps, I can make the ebook available. Thanks in advance, Manichean |
12-02-2009, 05:45 AM | #2 | |
book creator
Posts: 9,635
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
|
Quote:
|
|
Advert | |
|
12-02-2009, 06:04 AM | #3 | |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
Code:
<img border="0" height="341" src="record-4.GIF" width="272" /> |
|
12-02-2009, 06:46 AM | #4 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Check the file size of the original GIF images. Mobi has a limit on the maximum image size and calibre will try to resize images until they are under this threshold when necessary.
|
12-02-2009, 07:05 AM | #5 | |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
Do you know what the maximum image size for mobipocket is? Then I'd just do the resizing myself. |
|
Advert | |
|
12-02-2009, 10:56 AM | #6 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
In the conversion options for MOBI Output make sure that rescale images for palm devices is not checked
|
12-02-2009, 04:07 PM | #7 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
|
12-02-2009, 04:24 PM | #8 |
creator of calibre
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Open a ticket and attach the files
|
12-02-2009, 08:16 PM | #9 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HTML Conversion Problem | bigtymer | Calibre | 7 | 01-14-2010 08:15 PM |
calibre: HTML to LRF conversion, problem with justified text | Juggle4Evr | Sony Reader | 6 | 07-12-2009 07:19 PM |
Advice for converting pdfs to html (with pictures) | joblack | News | 1 | 07-11-2008 05:22 PM |
Cover pictures in Mobipocket | crewpsu | Reading and Management | 5 | 03-07-2008 10:28 AM |
Lit to html(+jpg) -cybook doesn't show the pictures | Robert1325 | Workshop | 3 | 12-02-2007 03:29 PM |