UNPKG

s2-tools

Version:

A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.

16 lines 928 B
/** * Lanczos filter function for downscaling * @param source - the source image * @param dest - the destination image * @param sx - source starting x point [Default: 0] * @param sy - source starting y point [Default: 0] * @param sw - source width to use [Default: source width - sx] * @param sh - source height to use [Default: source height - sy] * @param dx - destination starting x point [Default: 0] * @param dy - destination starting y point [Default: 0] * @param dw - destination width to use [Default: destination width - dx] * @param dh - destination height to use [Default: destination height - dy] * @param use2 - use 2nd lanczos filter instead of 3rd [Default: false] */ export declare function lanczos(source: ImageData, dest: ImageData, sx?: number, sy?: number, sw?: number, sh?: number, dx?: number, dy?: number, dw?: number, dh?: number, use2?: boolean): void; //# sourceMappingURL=lanczos.d.ts.map