File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ Published under the [MIT License](https://github.com/BitPatty/imgproxy-url-build
129129- [ formatQuality] ( #formatquality-imgproxy-docs )
130130- [ gradient] ( #gradient-imgproxy-docs )
131131- [ gravity] ( #gravity-imgproxy-docs )
132+ - [ hashsum] ( #hashsum-imgproxy-docs )
132133- [ jpegOptions] ( #jpegoptions-imgproxy-docs )
133134- [ keepCopyright] ( #keepcopyright-imgproxy-docs )
134135- [ maxBytes] ( #maxbytes-imgproxy-docs )
@@ -478,6 +479,19 @@ pb().gravity({
478479});
479480```
480481
482+ ### hashsum ([ imgproxy docs] ( https://github.com/imgproxy/imgproxy-docs/blob/f9d7908d253ec2b31425b988a48f8c28cb271c58/docs/usage/processing.mdx#L916 ) )
483+
484+ When ` hashsum_type ` is not ` none ` , imgproxy will calculate the hashsum of the source image and compare it with the provided hashsum.
485+
486+ #### Example
487+
488+ ``` typescript
489+ pb ().hashsum ({
490+ hashsum: ' ABCDEF' , // required
491+ type: HashsumType .NONE // optional
492+ });
493+ ```
494+
481495### jpegOptions ([ imgproxy docs] ( https://github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#jpeg-options-idjpeg-options ) )
482496
483497Allows redefining JPEG saving options.
You can’t perform that action at this time.
0 commit comments