|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
ebook-convert exporting to markdown not respecting --keep-image-references
Hi everybody,
First of all, I want to say thank you for all your support in this forum. I noticed that when I use ebook-convert to export a recipe to txt it does not respect the --keep-image-references option. Instead of referencing an image using the original link a relative link in the form of "images/000002.png" is embedded. But even worse the folder images is not created anywhere. Do you have an explanation for this behavior? Is there a way to preserve the original link to an image? If not is there a way to "see" the referenced folder with the images? Best regards Andy |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,622
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Conversion creates a single output file. So there is no place to put images when converting to txt. If you want to preserve images you need to convert to a format that has scope for them, such as txtz and use --keep-image-references
and --txt-output-formatting=markdown You can then unzip the txtz file. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Member
![]() Posts: 12
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
Thanks, for the hint. Is there a possibility to preserve the original image reference (e.g. https://www.example.org/image.png) instead of using the downloaded png?
|
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,622
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, there isnt.
|
|
|
|
|
|
#5 | |
|
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,068
Karma: 111120239
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
RTF is very portable and maintains most of the ebook info including images. |
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Member
![]() Posts: 21
Karma: 50
Join Date: Jan 2019
Device: none
|
Have you considered adding such an option? So that --keep-links and --keep-image-references would show what they were originally linking to, but even in plain txt files.
Also, the option to save a log of the conversion process in the same directory would be great. Last edited by barbiedolphin; 07-27-2023 at 10:56 AM. |
|
|
|
![]() |
| Tags |
| ebook-convert, images, markdown |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ebook-convert with recipe not respecting chapter-mark option | aschiller | Conversion | 6 | 01-27-2021 11:30 AM |
| Is there a way to convert html and pdf to json or markdown with Calibre? | bounce | Conversion | 3 | 09-19-2020 02:43 AM |
| How to convert a txt(markdown format) to epub with pictures? | wby238 | Conversion | 7 | 04-30-2018 11:02 AM |
| Which ereader (or ebook store) is best for respecting reader privacy? | El Macho | Which one should I buy? | 9 | 06-13-2014 07:38 AM |
| Markdown: Direct image references? | Snorkledorf | Conversion | 4 | 07-11-2013 01:06 PM |