Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-16-2019, 02:59 PM   #1
resolfe
Junior Member
resolfe began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2019
Device: kindle
Image settings for docx to epub/mobi conversion

Hi,

I am in the process of publishing a travel-guidebook on kdp (and other ebook retailers) and would need some help:

I am writing the book in word 2007 (docx) and would like to convert it to mobi and epub. (mobi for kdp, epub for all other retailers)

The book is a guidebook and therefore contains many images (>200).

In order to keep the filesize low, I am in the process of resizing all the images to 600px (width/height) with 300dpi before I insert them into the word file.
(I want to keep the ebook-filesize low because Amazon charges for the delivery of the ebook $0.15/MB).

Since I am downsizing the images already in the word-file I think that the best output profile would be"tablet" (since there is no additional resizing during the conversation).

Could you give me some suggestions or best practice tips about image sizes and settings? (e.g. What output profile to use? What is the best image size to use? Is it better to use the original filesize in the wordfile and to resize the the images during conversation? etc.)

I am grateful for any suggestion!
resolfe is offline   Reply With Quote
Old 04-16-2019, 05:30 PM   #2
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 2,725
Karma: 25850713
Join Date: Nov 2011
Location: Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
Some miscellaneous bits of advice.

The features of calibre are geared more toward readers than authors. You may want to consider hiring a professional or using a more mainstream workflow for getting your book ready to publish.

Do not submit a MOBI file created by calibre to KDP. Use Amazon's tools (kindlegen, Kindle Previewer, and/or Kindle Create) instead or just submit your source document (Word or EPUB).

The Workshop forum here at MobileRead is a good place to ask questions related to e-book production.
jhowell is offline   Reply With Quote
Old 04-16-2019, 09:51 PM   #3
resolfe
Junior Member
resolfe began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2019
Device: kindle
Hi jhowell,

thanks for your advice, even though it’s not really what I wanted to hear

Unfortunately I don’t have the budget to hire a professional, so I have to do it by myself.

I was considering to use the Amazon tools but I decided against it because I don’t want to do the process twice (for mobi and epub; as far as I know the Amazon tools convert only to mobi).

What is the problem with the docx to mobi-conversion in Calibre?
I just need a simple design.
I tested it with a test-document and everything looks fine on my kindle.
resolfe is offline   Reply With Quote
Old 04-16-2019, 10:41 PM   #4
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: 34,223
Karma: 10266832
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Using calibre to create MOBI files to submit to amazon should be fine, as long as you dont care about amazon's newer formats such as AZW3/KFX which bring features you may not need. As for image sizes, it is a tradeoff, higher resolution images will look nicer on high res screen devices, but increase file size. The choice is yours.
kovidgoyal is offline   Reply With Quote
Old Yesterday, 03:21 PM   #5
resolfe
Junior Member
resolfe began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2019
Device: kindle
Thanks kovidgoyal!
MOBI is fine.

In regard of the image resolution, I was just hoping to get some best practice tips...

One more question:
I tested some of the output profiles.
What I find strange is, that if I use the "kindle output profile" the images look bigger in the "calibre viewer" than when I use the "tablet output profile".

Since I use images with 600px width and the "kindle output profile" is downsizing images to 525px, it should be the other way around...

Is there an explanation for that?
resolfe is offline   Reply With Quote
Old Today, 04:12 PM   #6
resolfe
Junior Member
resolfe began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2019
Device: kindle
Quote:
Originally Posted by resolfe View Post
One more question:
I tested some of the output profiles.
What I find strange is, that if I use the "kindle output profile" the images look bigger in the "calibre viewer" than when I use the "tablet output profile".

Since I use images with 600px width and the "kindle output profile" is downsizing images to 525px, it should be the other way around...

Is there an explanation for that?

I am getting a bit confused with the image style after conversation from docx to epub&mobi.

As I said my original images in the docx-file have a width of 600px.

Using the "inspect" function in the calibre ebook-viewer I geht the following infos about the images after the conversion:

Conversion to MOBI:
using tablet output profile:
Code:
img[Attributes Style] {
height: 326px;
width: 488px;
}
using kindle output profile:
Code:
img[Attributes Style] {
height: 416px;
width: 622px;
}
Conversion to EPUB:
using tablet output profile:
Code:
.calibre6 {
height: 178pt;
width: 266pt;
}
using kindle output profile:
Code:
.calibre6 {
height: 178pt;
width: 266pt;
}

This makes no sense to me.
(As I said, the original image is 600px wide.)

I thought that by using the tablet output profile, calibre would not do any image resizing and by using kindle ouput profile images will be resized to 525x640px.

This is not matching whit my results above.

What is the problem? Am I doing something wrong?
How can I just keep the same image size in the MOBI/EPUB as it is in the original doc-file?
resolfe is offline   Reply With Quote
Old Today, 06:39 PM   #7
resolfe
Junior Member
resolfe began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2019
Device: kindle
After reading through the forum I tried Extra CSS:
Code:
img { width: 100% !important; height: auto !important }
But no success, calibre is still changing the image size.
Any suggestions?

Here is one of my conversion logs:
Spoiler:
Convert book 1 of 1 (Test)
Conversion options changed from defaults:
extra_css: u'img { width: 100% !important; height: auto !important }'
output_profile: 'tablet'
verbose: 2
read_metadata_from_opf: u'C:\\Users\\xxx\\AppData\\Local\\Temp\\calibre_2d j60i\\nbx9nr.opf'
Resolved conversion options
calibre version: 3.40.1
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'docx_inline_subsup': False,
'docx_no_cover': False,
'docx_no_pagebreaks_between_notes': False,
'dont_compress': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'expand_css': False,
'extra_css': u'img { width: 100% !important; height: auto !important }',
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x000000667B6242E8>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'mobi_file_type': u'old',
'mobi_ignore_margins': False,
'mobi_keep_original_images': False,
'mobi_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.TabletOutput object at 0x000000667B624D68>,
'page_breaks_before': u'/',
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\xxx\\AppData\\Local\\Temp\\calibre_2d j60i\\nbx9nr.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'share_not_sync': False,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: DOCX Input running
on C:\Users\xxx\AppData\Local\Temp\calibre_2dj60i\ibs nyj.docx
Converting Word markup to HTML
Converting styles to CSS
Cleaning up redundant markup generated by Word
Found Word Table of Contents, using it to generate the Table of Contents
Parsing all content...
Parsing index.html ...
Initial parse failed, using more forgiving parsers
Parsing index.html as HTML
Parsing docx.css ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 10.00000pt
Removing fake margins...
Found 81 items of level: p_1
p_1 left margin stats: Counter({u'0': 81})
p_1 right margin stats: Counter({u'0': 81})
Cleaning up manifest...
Trimming unused files from manifest...
Creating MOBI Output...
Serializing resources...
Creating MOBI 6 output
Generating in-line TOC...
Applying case-transforming CSS...
Parsing manglecase.css ...
Parsing tocstyle.css ...
Rasterizing SVG images...
Converting XHTML to Mobipocket markup...
Serializing markup content...
Compressing markup content...
Generating MOBI index for a book
MOBI output written to C:\Users\xxx\AppData\Local\Temp\calibre_2dj60i\_nm mdp.mobi

Last edited by resolfe; Today at 07:30 PM.
resolfe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image missing after conversion from docx to epub kefren Conversion 18 09-15-2016 09:27 PM
DOCX conversion of images to EPUB/Mobi: preserve aspect ratio? tbrosz Conversion 3 03-31-2014 01:56 PM
Conversion limitation: Centering image [docx to mobi] zonoiko Calibre 1 09-25-2013 12:40 AM
docx to mobi conversion, Image center/dragging problem zonoiko Conversion 0 09-24-2013 02:35 PM
mobi to epub conversion - how do I change the img settings? paola Conversion 0 05-15-2011 02:22 PM


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


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