Добавлена возможность конвертирования pdf как набор изображений.

Добавлены соответствующие настройки в читалку.
This commit is contained in:
Book Pauk
2020-12-18 23:30:13 +07:00
parent 972f957685
commit 480c95bd63
8 changed files with 139 additions and 16 deletions

View File

@@ -15,7 +15,7 @@ class ConvertPdf extends ConvertHtml {
}
async run(notUsed, opts) {
if (!this.check(notUsed, opts))
if (!opts.pdfAsText || !this.check(notUsed, opts))
return false;
await this.checkExternalConverterPresent();