Sha256: 9c43d8d6de4b563c041588d8e569dd476d07ba4e9a38cf9cdd5058e511369e17
Contents?: true
Size: 1.03 KB
Versions: 12
Compression:
Stored size: 1.03 KB
Contents
{file:docs/Home} > *{file:docs/EpubCover.adoc}* = `epub-cover` command-line tool `epub-cover` tool extract cover image from EPUB book. == Usage ---- % epub-cover --help Extract cover image. Image is put to current directory with the same name in EPUB. It is put to specified directory when `--output' option is given. Usage: epub-cover [options] EPUBFILE Options: -o, --output=DIR Directory to put image file ---- Example: ---- % epub-cover childrens-literature.epub Cover image output to cover.png ---- As output indicates, cover image file is output to current directory. The file name is the same to one in EPUB file. === Output directory You can specify a directory to output the cover file by `--output` option. ---- % epub-cover --output=/tmp childrens-literature.epub Cover image output to /tmp/cover.png ---- === Extract from the web `epub-open` accepts URI instead of file path. ---- % epub-cover https://raw.githubusercontent.com/IDPF/epub3-samples/master/30/page-blanche/ Cover image output to cover.jpg ----
Version data entries
12 entries across 12 versions & 1 rubygems