class Muse::Dl::Pdftk

Defined in:

pdftk.cr

Constant Summary

PDFTK_BINARY_NAME = "pdftk"

Constructors

Instance Method Summary

Constructor Detail

def self.new(tmp_file_path : String = Dir.tempdir) #

[View source]

Instance Method Detail

def add_bookmark(input_file : String, title : String) #

[View source]
def add_metadata(input_file : File, output_file : String, book : Book) #

[View source]
def add_metadata(input_file : File, output_file : String, issue : Issue) #

[View source]
def execute(args : Array(String)) #

[View source]
def gen_metadata(title : String, keywords : String, subject : String, author : String | Nil = nil) #

[View source]
def ready? #

[View source]
def stitch(chapter_ids : Array(String)) #

[View source]
def stitch_articles(article_ids : Array(String)) #

TODO Merge with stitch


[View source]
def strip_first_page(input_file : String) #

[View source]
def write_metadata(input_file : File, output_file : String, text) #

[View source]