@bitpatty/imgproxy-url-builder
Version:
A TypeScript helper library for building imgproxy URLs
16 lines (15 loc) • 491 B
TypeScript
/**
* The size of a pixel
*/
type PixelateOptions = number;
/**
* Apply the pixelate filter to the resulting image.
*
* See https://github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#pixelate for the imgproxy documentation
*
* @param pixelSize The size of a pixel
* @returns The pixelate param string
*/
declare const pixelate: (pixelSize: PixelateOptions) => string;
export default pixelate;
export { PixelateOptions };