en locales
This commit is contained in:
@@ -1,17 +1,11 @@
|
||||
import { Operator, Progress, oneToN } from ".";
|
||||
|
||||
import Joi from "@stirling-tools/joi";
|
||||
import { JoiPDFFileSchema } from "../wrappers/PdfFileJoi";
|
||||
|
||||
import i18next from "i18next";
|
||||
|
||||
import { PdfFile } from "../wrappers/PdfFile";
|
||||
|
||||
import { splitPagesByIndex } from "./common/splitPagesByIndex";
|
||||
import { detectEmptyPages } from "./common/detectEmptyPages";
|
||||
import { detectQRCodePages } from "./common/detectQRCodePages";
|
||||
|
||||
|
||||
export class SplitPagesByPreset extends Operator {
|
||||
/** Detect and remove white pages */
|
||||
async run(input: PdfFile[], progressCallback: (state: Progress) => void): Promise<PdfFile[]> {
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import { PdfFile } from "../wrappers/PdfFile";
|
||||
import { Operator, Progress, oneToN } from ".";
|
||||
|
||||
import Joi from "@stirling-tools/joi";
|
||||
|
||||
import { splitPagesByIndex } from "./common/splitPagesByIndex";
|
||||
|
||||
export class SplitPdfByIndex extends Operator {
|
||||
|
||||
@@ -1,12 +1,6 @@
|
||||
import { PdfFile } from "../wrappers/PdfFile";
|
||||
import { Operator, Progress, oneToOne } from ".";
|
||||
|
||||
import Joi from "@stirling-tools/joi";
|
||||
|
||||
import { JoiPDFFileSchema } from "../wrappers/PdfFileJoi";
|
||||
|
||||
import i18next from "i18next";
|
||||
|
||||
export class UpdateMetadata extends Operator {
|
||||
/** PDF extraction, specify pages from one pdf and output them to a new pdf */
|
||||
async run(input: PdfFile[], progressCallback: (state: Progress) => void): Promise<PdfFile[]> {
|
||||
|
||||
Reference in New Issue
Block a user