UNPKG

@adobe/pdfservices-node-sdk

Version:

The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.

40 lines 1.67 kB
"use strict"; /* * Copyright 2024 Adobe * All Rights Reserved. * * NOTICE: Adobe permits you to use, modify, and distribute this file in * accordance with the terms of the Adobe license agreement accompanying * it. If you have received this file from a source other than Adobe, * then your use, modification, or distribution of it requires the prior * written permission of Adobe. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.CompressionLevel = void 0; /** * Supported compression levels for {@link CompressPDFJob} used with {@link CompressPDFParams}. */ var CompressionLevel; (function (CompressionLevel) { /** * Reduces the file size of PDF by reducing resolution of the coloured and grayscale images above 100 dpi to 72 * dpi (dots per inch). * This option uses JPEG medium quality compression. * Output PDF will not contain hidden layers, document structure, metadata, javascript, user properties and print * settings. */ CompressionLevel["HIGH"] = "HIGH"; /** * Reduces the file size of PDF by reducing resolution of the coloured and grayscale images above 200 dpi to 144 * dpi (dots per inch). * This option uses JP2K medium quality compression. */ CompressionLevel["MEDIUM"] = "MEDIUM"; /** * Reduces the file size of PDF by reducing resolution of the coloured and grayscale images above 250 dpi to 200 * dpi (dots per inch). * This option uses JP2K high quality compression. */ CompressionLevel["LOW"] = "LOW"; })(CompressionLevel || (exports.CompressionLevel = CompressionLevel = {})); //# sourceMappingURL=CompressionLevel.js.map