06-15-2017, 09:35 AM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jun 2017
Device: samsung
|
Cover image from metadata
I use (calibre) ebook-convert on ubuntu
Is it possible to set which image to use for cover in metadata (or something else) in the html file? ( ebook-convert in.html out.epub ) |
06-15-2017, 10:08 AM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
ebook-convert in.html out.epub --cover file.jpg
|
06-15-2017, 05:06 PM | #3 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jun 2017
Device: samsung
|
Thanks for your answer.
I was hoping it was possible to 'read the image name' from somewhere, as the conversion is run as 'batch' on server. |
06-15-2017, 06:09 PM | #4 |
Grand Sorcerer
Posts: 12,167
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
As long as you have a script that runs the convert why can't it read the html to obtain the cover and pass that to ebook-convert?
Sent from my Nexus 7 using Tapatalk |
06-16-2017, 03:22 AM | #5 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jun 2017
Device: samsung
|
>> read the html to obtain the cover
How do I read the cover from the html ? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
paste cover image changes image's size | pipistrelosone | Editor | 1 | 10-07-2016 09:10 AM |
Failed to download metadata (both metadata & cover) | EddieSean | Calibre | 0 | 01-31-2013 09:49 PM |
Cover image isn't displaying as cover image | Eugene88 | Sigil | 3 | 08-15-2012 04:05 PM |
Cover Image | Padr49904 | Sigil | 7 | 05-07-2011 06:59 PM |
Cover Image in PDF Metadata? | ahi | 0 | 05-18-2009 06:56 PM |