Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-02-2009, 04:33 AM   #1
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
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
Manichean is offline   Reply With Quote
Old 12-02-2009, 05:45 AM   #2
mtravellerh
book creator
mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.mtravellerh ought to be getting tired of karma fortunes by now.
 
mtravellerh's Avatar
 
Posts: 9,635
Karma: 3856660
Join Date: Oct 2008
Location: Luxembourg
Device: PB360°
Quote:
Originally Posted by Manichean View Post
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
I have converted thousands of mobis already but never met a similar problem, so the picture processing itself might not be concerned. Could you also check how those pics are tagged in the html-Code?
mtravellerh is offline   Reply With Quote
Advert
Old 12-02-2009, 06:04 AM   #3
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by mtravellerh View Post
I have converted thousands of mobis already but never met a similar problem, so the picture processing itself might not be concerned. Could you also check how those pics are tagged in the html-Code
They are in what seems to be quite standard img-tags:
Code:
<img border="0" height="341" src="record-4.GIF" width="272" />
Manichean is offline   Reply With Quote
Old 12-02-2009, 06:46 AM   #4
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
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.
user_none is offline   Reply With Quote
Old 12-02-2009, 07:05 AM   #5
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by user_none View Post
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.
Those are the original dimensions. Beats me why they are in the HTML, but I didn't write it, I just copied it.
Do you know what the maximum image size for mobipocket is? Then I'd just do the resizing myself.
Manichean is offline   Reply With Quote
Advert
Old 12-02-2009, 10:56 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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
kovidgoyal is offline   Reply With Quote
Old 12-02-2009, 04:07 PM   #7
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by kovidgoyal View Post
In the conversion options for MOBI Output make sure that rescale images for palm devices is not checked
I did that already. Checked or unchecked didn't make any difference.
Manichean is offline   Reply With Quote
Old 12-02-2009, 04:24 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Open a ticket and attach the files
kovidgoyal is offline   Reply With Quote
Old 12-02-2009, 08:16 PM   #9
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by Manichean View Post
Those are the original dimensions. Beats me why they are in the HTML, but I didn't write it, I just copied it.
Do you know what the maximum image size for mobipocket is? Then I'd just do the resizing myself.
65505 Bytes
user_none is offline   Reply With Quote
Old 12-08-2009, 08:55 AM   #10
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by kovidgoyal View Post
Open a ticket and attach the files
Done. Sorry about the delay, I had some reallife stuff going on.
And thanks again for the help.
Manichean is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 04:42 PM.


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