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-15-2017, 09:35 AM   #1
espenmn
Junior Member
espenmn began at the beginning.
 
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 )
espenmn is offline   Reply With Quote
Old 06-15-2017, 10:08 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,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
ebook-convert in.html out.epub --cover file.jpg
kovidgoyal is offline   Reply With Quote
Old 06-15-2017, 05:06 PM   #3
espenmn
Junior Member
espenmn began at the beginning.
 
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.
espenmn is offline   Reply With Quote
Old 06-15-2017, 06:09 PM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
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
PeterT is offline   Reply With Quote
Old 06-16-2017, 03:22 AM   #5
espenmn
Junior Member
espenmn began at the beginning.
 
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 ?
espenmn is offline   Reply With Quote
Reply


Forum Jump

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 PDF 0 05-18-2009 06:56 PM


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


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