ImageProcessingPipelineBuilder.setToURLString() method
Returns the provided URL with added pipeline parameter.
Signature:
setToURLString(urlStr: string): string;
Parameters
Parameter | Type | Description |
---|---|---|
urlStr | string | input URL |
Returns:
string
Example
new ImageProcessingPipelineBuilder()
.format("jpg")
.setToURLString("https://example.com");
// http://example.com?pipeline=image%2Fformat%2Cjpg