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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-03-2012, 02:05 PM   #1
richieadler
Fan of Sony readers
richieadler began at the beginning.
 
richieadler's Avatar
 
Posts: 7
Karma: 10
Join Date: Aug 2009
Location: Argentina
Device: Sony PRS-T2; Sony PRS-505
Arrow Cover generation, selecting image, from CLI

Sorry if this has been asked before, but I haven't been able to find information on this. If it exists, I would appreciate a link.

Basically what I need to do is:
  • Generate an EPUB from the command line
  • Incorporate a specified image as the cover
  • (This is the new part) Add to that cover the same information that gets added to the image in a default or generated cover.
This is part of an automated process so GUI solutions are not useful for me.

Any hints?

Thank you in advance.
richieadler is offline   Reply With Quote
Old 11-03-2012, 02:59 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,902
Karma: 5880479
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by richieadler View Post
Sorry if this has been asked before, but I haven't been able to find information on this. If it exists, I would appreciate a link.

Basically what I need to do is:
  • Generate an EPUB from the command line
  • Incorporate a specified image as the cover
  • (This is the new part) Add to that cover the same information that gets added to the image in a default or generated cover.
This is part of an automated process so GUI solutions are not useful for me.

Any hints?

Thank you in advance.
look at the CLI (Comandline interface) in the online users guide.

ebook-meta has a way to set the cover into the DB (I think you want to populate the DB first, then call the convert)
theducks is online now   Reply With Quote
 
Enthusiast
Old 11-03-2012, 03:15 PM   #3
richieadler
Fan of Sony readers
richieadler began at the beginning.
 
richieadler's Avatar
 
Posts: 7
Karma: 10
Join Date: Aug 2009
Location: Argentina
Device: Sony PRS-T2; Sony PRS-505
Unhappy

Quote:
Originally Posted by theducks View Post
look at the CLI (Comandline interface) in the online users guide.

ebook-meta has a way to set the cover into the DB (I think you want to populate the DB first, then call the convert)
Hum... not really. I'm using ebook-convert to create the epub, and it gets created without even getting included into the database. If I do it later is for a different purpose, but my intention is to get all in one go, from the ebook-convert execution, without going through the GUI nor the library.
richieadler is offline   Reply With Quote
Old 11-03-2012, 11:32 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: 26,154
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
1) Create your cover witht he specified information using either imagemagick or the CLI interface to the generate cover plugin.

2) Run ebook-convert with --cover
kovidgoyal is offline   Reply With Quote
Reply

Tags
automation, batch conversion, command line, epub, generation

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable cover generation when adding books in Calibre? rebl Library Management 8 03-18-2013 06:56 AM
Cover image isn't displaying as cover image Eugene88 Sigil 3 08-15-2012 04:05 PM
CLI vs GUI html2mobi with image - bug? DanielJG Conversion 0 04-23-2012 09:35 AM
Ended Kindle 2nd Generation (Nearly New) + Cover a.anonymous Flea Market 3 11-11-2010 06:15 PM


All times are GMT -4. The time now is 09:48 AM.


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