8889841cPK¬[ógxdLL README.mdnuW+A„¶# Installation > `npm install --save @types/imagemin-mozjpeg` # Summary This package contains type definitions for imagemin-mozjpeg (https://github.com/imagemin/imagemin-mozjpeg#readme). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imagemin-mozjpeg. ### Additional Details * Last updated: Tue, 06 Jul 2021 21:33:39 GMT * Dependencies: [@types/imagemin](https://npmjs.com/package/@types/imagemin) * Global values: none # Credits These definitions were written by [Jeff Chan](https://github.com/hkjeffchan). PK¬[IÏ =c c index.d.tsnuW+A„¶// Type definitions for imagemin-mozjpeg 8.0 // Project: https://github.com/imagemin/imagemin-mozjpeg#readme // Definitions by: Jeff Chan // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped import { Plugin } from 'imagemin'; declare function imageminMozjpeg(options?: imageminMozjpeg.Options): Plugin; declare namespace imageminMozjpeg { interface Options { /** Compression quality, in range 0 (worst) to 100 (perfect). */ quality?: number | undefined; /** * false creates baseline JPEG file. * @default true */ progressive?: boolean | undefined; /** * Input file is Targa format (usually not needed). * @default false */ targa?: boolean | undefined; /** * Revert to standard defaults instead of mozjpeg defaults. * @default false */ revert?: boolean | undefined; /** * Disable progressive scan optimization. * @default false */ fastCrush?: boolean | undefined; /** * Set DC scan optimization mode. * 0 One scan for all components * 1 One scan per component * 2 Optimize between one scan for all components and one scan for 1st component plus one scan for remaining components * @default 1 */ dcScanOpt?: number | undefined; /** * Trellis optimization. * @default true * */ trellis?: boolean | undefined; /** * Trellis optimization of DC coefficients. * @default true */ trellisDC?: boolean | undefined; /** * Set Trellis optimization method. Available methods: psnr, hvs-psnr, ssim, ms-ssim * @default 'hvs-psnr' */ tune?: 'psnr' | 'hvs-psnr' | 'ssim' | 'ms-ssim' | undefined; /** * Black-on-white deringing via overshoot. * @default true */ overshoot?: boolean | undefined; /** * Use arithmetic coding. * @default false */ arithmetic?: boolean | undefined; /** * Set DCT method: * int Use integer DCT * fast Use fast integer DCT (less accurate) * float Use floating-point DCT * @default 'int' */ dct?: 'int' | 'fast' | 'float' | undefined; /** * Use 8-bit quantization table entries for baseline JPEG compatibility. * @default false */ quantBaseline?: boolean | undefined; /** * Use predefined quantization table. * 0 JPEG Annex K * 1 Flat * 2 Custom, tuned for MS-SSIM * 3 ImageMagick table by N. Robidoux * 4 Custom, tuned for PSNR-HVS * 5 Table from paper by Klein, Silverstein and Carney */ quantTable?: number | undefined; /** * Set the strength of smooth dithered input. (1...100) */ smooth?: number | undefined; /** * Set the maximum memory to use in kilobytes. */ maxMemory?: number | undefined; /** * Set component sampling factors. Each item should be in the format HxV, for example 2x1. */ sample?: string[] | undefined; } } export = imageminMozjpeg; PK¬[X‡4@uuLICENSEnuW+A„¶ MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE PK¬[›Ô™ë[[ package.jsonnuW+A„¶{ "name": "@types/imagemin-mozjpeg", "version": "8.0.1", "description": "TypeScript definitions for imagemin-mozjpeg", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imagemin-mozjpeg", "license": "MIT", "contributors": [ { "name": "Jeff Chan", "url": "https://github.com/hkjeffchan", "githubUsername": "hkjeffchan" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/imagemin-mozjpeg" }, "scripts": {}, "dependencies": { "@types/imagemin": "*" }, "typesPublisherContentHash": "2c722fd2a3e8a4604c328f6787ab72d6a501367c08448421dc7a096527387368", "typeScriptVersion": "3.6" }PK¬[ógxdLL README.mdnuW+A„¶PK¬[IÏ =c c …index.d.tsnuW+A„¶PK¬[X‡4@uu"LICENSEnuW+A„¶PK¬[›Ô™ë[[ Îpackage.jsonnuW+A„¶PK&e