Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-08-2023, 10:04 AM   #1
maff
Junior Member
maff began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2012
Device: Mac, iPad, Kindle
Question Prevent image conversion

Hello

As part of our workflow we convert our EPUB files to Word docx to send to our reviewers for updating.

We have been using Calibre to do this. However, we changed our image format to SVG last year and now the text in the images appears in single lines rather than in text boxes, when converting to DOCX.

It looks like Calibre converts the SVG images to PNG during the conversion process.

Is there a way to prevent Calibre from converting images?

I have attached the EPUB file, the converted DOCX file, a screen shot showing the problem image in Word and a copy of the original SVG file.

Here is the conversion log:
Spoiler:

Convert book 1 of 1 (SVG and MathML tests)
Conversion options changed from defaults:
cover: '/var/folders/gj/2m93vtfj72gbbfgvgzxwvq95y4_j4g/C/calibre_6.19.1_tmp_w4mzp86m/dkaqio_0.jpeg'
output_profile: 'generic_eink'
read_metadata_from_opf: '/var/folders/gj/2m93vtfj72gbbfgvgzxwvq95y4_j4g/C/calibre_6.19.1_tmp_w4mzp86m/1ynaf_mk.opf'
docx_no_cover: True
preserve_cover_aspect_ratio: True
docx_no_toc: True
verbose: 2
docx_page_size: 'a4'
Resolved conversion options
calibre version: 6.19.1
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': 'original',
'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
"'\\s*((chapter|book|section|part)\\s+)|((prolog|p rologue|epilogue)(\\s+|$))', "
"'i')) or @class = 'chapter']",
'chapter_mark': 'pagebreak',
'comments': None,
'cover': '/var/folders/gj/2m93vtfj72gbbfgvgzxwvq95y4_j4g/C/calibre_6.19.1_tmp_w4mzp86m/dkaqio_0.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'docx_custom_page_size': None,
'docx_no_cover': True,
'docx_no_toc': True,
'docx_page_margin_bottom': 72.0,
'docx_page_margin_left': 72.0,
'docx_page_margin_right': 72.0,
'docx_page_margin_top': 72.0,
'docx_page_size': 'a4',
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': '',
'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 0x113051360>,
'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,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'output_profile': <calibre.customize.profiles.GenericEink object at 0x113051060>,
'page_breaks_before': '/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': True,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': '/var/folders/gj/2m93vtfj72gbbfgvgzxwvq95y4_j4g/C/calibre_6.19.1_tmp_w4mzp86m/1ynaf_mk.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': '',
'search_replace': '[]',
'series': None,
'series_index': None,
'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,
'transform_css_rules': '[]',
'transform_html_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: EPUB Input running
on /var/folders/gj/2m93vtfj72gbbfgvgzxwvq95y4_j4g/C/calibre_6.19.1_tmp_w4mzp86m/w8ubl_te.epub
Parsing all content...
Duplicate manifest entry for 'images/activity.png'
Duplicate manifest entry for 'images/consider.png'
Duplicate manifest entry for 'images/example.png'
Duplicate manifest entry for 'images/key_points.png'
Duplicate manifest entry for 'images/key_terms.png'
Duplicate manifest entry for 'images/reinforce.png'
Duplicate manifest entry for 'images/FIT_ebook_cover.png'
Parsing generated-index.xhtml ...
Parsing _global_shared/conref_warehouse/components/prelims/testing_period/examination_period.xhtml ...
Parsing _global_shared/conref_warehouse/components/prelims/revisionmate/title_page_revision_mate_box.xhtml ...
Parsing _global_shared/conref_warehouse/components/prelims/using_this_study_text/generic_using_this_study_text.xhtml ...
Parsing testing/zz_cii_testing/Matt/image_test/topics/question_answers.xhtml ...
Parsing testing/zz_cii_testing/Matt/image_test/topics/chap_01_introduction.xhtml ...
Parsing cii.css ...
Parsing nav.xhtml ...
Parsing _global_shared/conref_warehouse/components/prelims/updates_box/title_page_updates_box_no_date.xhtml ...
Parsing testing/zz_cii_testing/Matt/image_test/topics/lc_the_story.xhtml ...
Parsing _global_shared/conref_warehouse/components/prelims/epub_syllabus_notice.xhtml ...
Parsing toc_d82e156.html ...
Parsing commonltr.css ...
Parsing ciirtl.css ...
Parsing general_insurance/award_and_cert_gi/fit/topics/cover.xhtml ...
Parsing testing/zz_cii_testing/Matt/image_test/topics/svg_test_-_learning_content.xhtml ...
Parsing testing/zz_cii_testing/Matt/image_test/topics/lc_learning_content_with_question_note.xhtml ...
Parsing testing/zz_cii_testing/Matt/image_test/topics/chapter_1.xhtml ...
Parsing commonrtl.css ...
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: Chapter 1
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 10 items of level: div_3
Found 6 items of level: p_4
Found 1 items of level: p_3
Found 7 items of level: p_7
Found 2 items of level: p_8
Found 5 items of level: div_9
Found 4 items of level: div_4
Found 21 items of level: p_5
Found 2 items of level: div_1
Found 4 items of level: div_5
Found 2 items of level: div_6
Found 4 items of level: div_7
Found 2 items of level: div_8
Found 2 items of level: p_9
Found 8 items of level: div_11
Found 4 items of level: p_12
Found 3 items of level: p_6
Ignoring level div_6
Ignoring level p_7
Ignoring level p_8
Ignoring level p_3
Ignoring level div_7
Ignoring level div_8
Ignoring level div_9
Ignoring level p_12
Ignoring level p_6
Ignoring level p_4
Ignoring level div_5
Ignoring level div_11
Ignoring level div_3
Ignoring level div_4
Ignoring level p_9
Ignoring level p_5
div_1 left margin stats: Counter()
div_1 right margin stats: Counter()
Cleaning up manifest...
Trimming unused files from manifest...
Trimming 'images/critical_reflections.png' from manifest
Trimming 'images/on_the_web.png' from manifest
Trimming 'images/speech.png' from manifest
Trimming 'images/bibliography.png' from manifest
Trimming 'images/critical_reflection.png' from manifest
Trimming 'nav.xhtml' from manifest
Trimming 'images/think_back.png' from manifest
Trimming 'images/research.png' from manifest
Trimming 'images/exclamation.png' from manifest
Trimming 'images/research_exercise.png' from manifest
Trimming 'images/additional_reading.png' from manifest
Creating DOCX Output...
Rasterizing SVG images...
qt.svg: <input>:19:25: Could not parse node: font
qt.svg: <input>:53:26: Could not parse node: font
qt.svg: <input>:61:26: Could not parse node: font
Rasterizing 'images/fca_supervisory_approach.svg' to 548x548
qt.qpa.fonts: Populating font family aliases took 262 ms. Replace uses of missing font family "Arial-BoldMT" with one that exists to avoid this cost.
qt.svg: <input>:19:25: Could not parse node: font
qt.svg: <input>:78:26: Could not parse node: font
Rasterizing 'images/gbu_test_image.svg' to 529x695
Processing general_insurance/award_and_cert_gi/fit/topics/cover.xhtml
Processing _global_shared/conref_warehouse/components/prelims/testing_period/examination_period.xhtml
Processing _global_shared/conref_warehouse/components/prelims/revisionmate/title_page_revision_mate_box.xhtml
Processing _global_shared/conref_warehouse/components/prelims/updates_box/title_page_updates_box_no_date.xhtml
Processing _global_shared/conref_warehouse/components/prelims/using_this_study_text/generic_using_this_study_text.xhtml
Processing _global_shared/conref_warehouse/components/prelims/epub_syllabus_notice.xhtml
Processing toc_d82e156.html
Processing testing/zz_cii_testing/Matt/image_test/topics/chapter_1.xhtml
Processing testing/zz_cii_testing/Matt/image_test/topics/chap_01_introduction.xhtml
Processing testing/zz_cii_testing/Matt/image_test/topics/svg_test_-_learning_content.xhtml
Processing testing/zz_cii_testing/Matt/image_test/topics/lc_learning_content_with_question_note.xhtml
Processing testing/zz_cii_testing/Matt/image_test/topics/lc_the_story.xhtml
Processing testing/zz_cii_testing/Matt/image_test/topics/question_answers.xhtml
Processing generated-index.xhtml
3 Text Styles 30 Combined styles
DOCX output written to /var/folders/gj/2m93vtfj72gbbfgvgzxwvq95y4_j4g/C/calibre_6.19.1_tmp_w4mzp86m/dcx2pl3f.docx

I did not change any of the conversion options.

Many thanks

Last edited by theducks; 06-08-2023 at 11:38 AM. Reason: spoilered log
maff is offline   Reply With Quote
Old 06-08-2023, 11:10 AM   #2
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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Does Word even support SVG? At the time I wrote the DOCX output plugin it definitely didnt.
kovidgoyal is offline   Reply With Quote
Advert
Old 06-08-2023, 12:18 PM   #3
maff
Junior Member
maff began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2012
Device: Mac, iPad, Kindle
I was able to import that SVG into a blank DOCX file. As you said, it probably didn't when you DOCX output plugin.
maff is offline   Reply With Quote
Old 06-08-2023, 01:43 PM   #4
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,164
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
LO Writer supports SVG, don't know since when or what input formats.
MS Word (don't know since which version & not tried my 2007) can't insert an SVG file, but at least on Word 2019, according to various sources inc MS, you can copy/paste SVG from Inkscape via clipboard.
This suggests copy/paste SVG into Word 2007 works, because there is a quality setting.

https://superuser.com/questions/1555...es-its-quality

But as to what is done when you save / load a docx is another story. I'm not inclined to research it as I run Linux & LO, though I have some Windows boxes and XP, Win7 & Win10 on VMs and Word 2003 on WINE. Not sure which install has the MS Word 2007.

https://learn.microsoft.com/en-us/of...e-quality-loss

Edit:
Perhaps even when you copy/paste, saving the docx rasterises it, otherwise why would there be a quality setting?

Last edited by Quoth; 06-08-2023 at 01:52 PM.
Quoth is offline   Reply With Quote
Old 06-08-2023, 06:27 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
Does Word even support SVG? At the time I wrote the DOCX output plugin it definitely didnt.
It's a fairly recent addition, IIRC Office 2019.

BR
BetterRed is offline   Reply With Quote
Advert
Old 06-08-2023, 09:28 PM   #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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Can someone attach a docx file with an embedded svg, I only have Word 2008 (last I can get working with WINE).
kovidgoyal is offline   Reply With Quote
Old 06-08-2023, 10:51 PM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Here you go.

BR
Attached Files
File Type: zip Doc1.zip (832.8 KB, 81 views)
BetterRed is offline   Reply With Quote
Old 06-09-2023, 05:21 AM   #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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Well I added support it was fairly trivial to do, but I have no way to test it. Attached here is a docx to docx conversion of BetterRed's test file using the new code. Try it in word and see.
Attached Files
File Type: docx t.docx (394.0 KB, 59 views)
kovidgoyal is offline   Reply With Quote
Old 06-09-2023, 06:03 AM   #9
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,164
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Both open in LO Writer 7.4x, though I can't tell if raster or vector. The t.docx properties have image.png as name and doc1.docx is empty.

my Word 2003 on WINE has no docx plugin. MS removed that patch/update from their site years ago (released some time in 2008?)

I thought my 2002/XP had a docx plugin, but not on the VM. Must be on a box somewhere. XP no longer connects to my server, so I'll have to put test files on a USB stick. The Win10 VM has no MS Office (possibly, but Start & Search is so "broken" on Win10, who knows?) and the Win7 VM has WordXP/2002, so the Word 2007 must be on a box somewhere.

Last edited by Quoth; 06-09-2023 at 06:24 AM.
Quoth is offline   Reply With Quote
Old 06-09-2023, 06:17 AM   #10
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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
LO doesnt support svg as far as i know. So it will use the raster rendering. IIRC the raster rendering has the far tusk not rendered well.
kovidgoyal is offline   Reply With Quote
Old 06-09-2023, 06:17 AM   #11
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,015
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kovidgoyal View Post
Well I added support it was fairly trivial to do, but I have no way to test it. Attached here is a docx to docx conversion of BetterRed's test file using the new code. Try it in word and see.
Word is coming up saying I can only view it. The permissions need to be fixed.
JSWolf is offline   Reply With Quote
Old 06-09-2023, 06:24 AM   #12
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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can also try resizing the image it will not show jaggies if its svg when expanded.
kovidgoyal is offline   Reply With Quote
Old 06-09-2023, 06:28 AM   #13
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,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by JSWolf View Post
Word is coming up saying I can only view it. The permissions need to be fixed.
What permissions, adding svg support didnt change any permissions. Presumably you downloaded the file as a readonly?
kovidgoyal is offline   Reply With Quote
Old 06-09-2023, 07:18 AM   #14
maff
Junior Member
maff began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2012
Device: Mac, iPad, Kindle
Quote:
Originally Posted by kovidgoyal View Post
Well I added support it was fairly trivial to do, but I have no way to test it. Attached here is a docx to docx conversion of BetterRed's test file using the new code. Try it in word and see.
I downloaded the file and it opened in Word without any issues, the image displays perfectly.

Does version 6.20 have the support for SVG added?
maff is offline   Reply With Quote
Old 06-09-2023, 07:21 AM   #15
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
Well I added support it was fairly trivial to do, but I have no way to test it. Attached here is a docx to docx conversion of BetterRed's test file using the new code. Try it in word and see.


Jon, Word is rightfully blocking the t.docx from edit because it came from the 'Net. You can click the Allow Edit button in Word or check the Unblock checkbox in the file's property box. Standard Windows behaviour.

BR
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2023-06-09 211322.jpg
Views:	67
Size:	425.9 KB
ID:	201934  
BetterRed is offline   Reply With Quote
Reply

Tags
calibre, conversion, docx, epub, svg


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flagging books to prevent conversion? jeffery Conversion 2 07-08-2018 02:25 AM
EPUB -> PDF: prevent image splitting? badbob001 Conversion 1 02-25-2015 10:08 PM
Prevent PDF Conversion trubbba Conversion 3 08-17-2012 12:53 AM
Is there a way to prevent Calibre adding to the TOC upon conversion? PatNY Conversion 21 03-17-2011 03:09 PM
Conversion to Mobi - How to Prevent Formatting marks in Comments nynaevelan Calibre 8 01-03-2011 02:10 PM


All times are GMT -4. The time now is 02:38 PM.


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