Azure Connectors Node.js SDK
    Preparing search index...

    Interface PdfToWebpInput

    PDF to WEBP

    interface PdfToWebpInput {
        async?: boolean;
        expiration?: number;
        inline?: boolean;
        pages?: string;
        profiles?: string;
        rect?: string;
        url: string;
    }
    Index
    async?: boolean

    Set to true for long processes to run in the background, API will then return a jobId which you can use with JobCheck endpoint to check the status of the process and retrieve the output while you can proceed with other tasks without waiting for this process to finish.

    expiration?: number

    Set the expiration time for the output link in minutes (default is 60 i.e 60 minutes or 1 hour), After this specified duration, any generated output file(s) will be automatically deleted from PDF.co temporary files storage. The maximum duration for link expiration varies based on your current subscription plan.

    inline?: boolean

    inline

    pages?: string

    Comma-separated list of page indices (or ranges) to process. The very first page starts at 0 (zero). To set a range use the dash -, for example: 0,2-5,7-. To set a range from the index to the last page use range like this: 2- (from page #3 as the index starts at zero and till the of the document). For ALL pages just leave this param empty. Example: 0,2-5,7- means first page, then 3rd page to 6th page, and then the range from 8th (index = 7) page till the end of the document.

    profiles?: string

    You can set additional and extra options using this parameter that allows you to set custom configuration. Explore PDF.co knowledgebase (https://developer.pdf.co/api/profiles/index.html) for profile examples.

    rect?: string

    Defines coordinates for extraction, e.g. 51.8, 114.8, 235.5, 204.0. Use PDF.co PDF Edit Add Helper (https://app.pdf.co/pdf-edit-add-helper) to get or measure pdf coordinates.

    url: string

    URL to the source file. Supports links from Google Drive, Dropbox, and PDF.co built-in files storage.