OptionalresampleInterpolation. Default bilinear.
OptionalbackgroundColor of pixels that fall outside the source. Default transparent [0, 0, 0, 0].
OptionalextentOutput area [minX, minY, maxX, maxY] in output coordinates (the transform's
target, or coordinateTransform's output). Default: the whole transformed source.
OptionalpixelOutput pixel size in output coordinates, one number or [x, y]. Default: about the source resolution.
OptionalwidthOutput width in pixels. With height, overrides pixelSize; alone, keeps pixels square.
OptionalheightOutput height in pixels.
OptionalcoordinateConverts the transform's target coordinates to the output's (e.g.
proj4('EPSG:4326', 'EPSG:3857')). Runs on the main thread on a coarse grid.
OptionalgridGrid spacing in output pixels for coordinateTransform. Default 32.
OptionaltoleranceLargest allowed grid interpolation error, in source pixels. Default 0.125.
OptionalyOverrides the transform's yUp: true puts the largest y at the top of the output.
OptionaledgesWhat sampling reads beyond the source's outer pixel centers. transparent
(default) fades the edge out, which keeps the outline of a warped image
smooth; clamp repeats the edge pixels, for outputs that lie wholly on
the source (a resize), so opaque images stay opaque up to their border.
OptionaloutputResult type. Default imageData.
OptionaltypeEncoding for output: 'blob'. Default image/png.
OptionalqualityEncoder quality 0-1 for lossy types.
OptionalworkerRun in Web Workers (default true). Falls back to the main thread automatically.
OptionalsignalCancels the warp; the promise rejects with an AbortError.
Options for warp.