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