UNPKG

multer-sharp-s3-opt

Version:
41 lines 1.43 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function getSharpOptions(options) { return { resize: options.resize, composite: options.composite, modulate: options.modulate, toFormat: options.toFormat, extract: options.extract, trim: options.trim, flatten: options.flatten, extend: options.extend, negate: options.negate, rotate: options.rotate, flip: options.flip, flop: options.flop, blur: options.blur, sharpen: options.sharpen, gamma: options.gamma, grayscale: options.grayscale, greyscale: options.greyscale, normalize: options.normalize, normalise: options.normalise, convolve: options.convolve, threshold: options.threshold, toColourspace: options.toColourspace, toColorspace: options.toColorspace, withMetadata: options.withMetadata, linear: options.linear, median: options.median, tint: options.tint, removeAlpha: options.removeAlpha, bandbool: options.bandbool, boolean: options.boolean, joinChannel: options.joinChannel, extractChannel: options.extractChannel, ensureAlpha: options.ensureAlpha, }; } exports.default = getSharpOptions; //# sourceMappingURL=get-sharp-options.js.map