class

Muse::Dl::Pdftk

Inherits Reference / Object

Constants

PDFTK_BINARY_NAME = "pdftk"

Constructors

new(tmp_file_path : String = Dir.tempdir)
Source

Instance methods

add_bookmark(input_file : String, title : String)
Source
add_metadata(input_file : File, output_file : String, book : Book)
Source
add_metadata(input_file : File, output_file : String, issue : Issue)
Source
execute(args : Array(String))
Source
gen_metadata(title : String, keywords : String, subject : String, author : String | Nil = nil)
Source
ready?
Source
stitch(chapter_ids : Array(String))
Source
stitch_articles(article_ids : Array(String))

TODO: Merge with stitch

Source
strip_first_page(input_file : String)
Source
write_metadata(input_file : File, output_file : String, text)
Source