@@ -102,10 +102,10 @@ t.rotate(34); // rotate: 34, blur: 10
102102- [ page] ( #page-imgproxy-docs )
103103- [ pixelate] ( #pixelate-imgproxy-docs )
104104- [ pngOptions] ( #pngoptions-imgproxy-docs )
105- - [ resizingAlgorithm] ( #resizingalgorithm-imgproxy-docs )
106- - [ returnAttachment] ( #returnattachment-imgproxy-docs )
107105- [ quality] ( #quality-imgproxy-docs )
108106- [ resize] ( #resize-imgproxy-docs )
107+ - [ resizingAlgorithm] ( #resizingalgorithm-imgproxy-docs )
108+ - [ returnAttachment] ( #returnattachment-imgproxy-docs )
109109- [ rotate] ( #rotate-imgproxy-docs )
110110- [ saturation] ( #saturation-imgproxy-docs )
111111- [ sharpen] ( #sharpen-imgproxy-docs )
@@ -484,48 +484,48 @@ pb().pngOptions({
484484});
485485` ` `
486486
487- ### resizingAlgorithm ([imgproxy docs ](https :// github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#preset ))
487+ ### quality ([imgproxy docs ](https :// github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#quality ))
488488
489- Defines the algorithm that imgproxy will use for resizing .
489+ Redefines the quality of the resulting image .
490490
491491#### Example
492492
493493` ` ` typescript
494- pb().resizingAlgorithm(ResizingAlgorithm.NEAREST) );
494+ pb().quality(80 );
495495` ` `
496496
497- ### returnAttachment ([imgproxy docs ](https :// github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#return-attachment ))
497+ ### resize ([imgproxy docs ](https :// github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#resize ))
498498
499- Returns attachment in the Content - Disposition header .
499+ Resizes the image .
500500
501501#### Example
502502
503503` ` ` typescript
504- pb().returnAttachment();
504+ pb().resize({
505+ type: ResizeType.AUTO, // optional
506+ width: 100, // optional
507+ height: 50 // optional
508+ });
505509` ` `
506510
507- ### quality ([imgproxy docs ](https :// github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#quality ))
511+ ### resizingAlgorithm ([imgproxy docs ](https :// github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#preset ))
508512
509- Redefines the quality of the resulting image .
513+ Defines the algorithm that imgproxy will use for resizing .
510514
511515#### Example
512516
513517` ` ` typescript
514- pb().quality(80 );
518+ pb().resizingAlgorithm(ResizingAlgorithm.NEAREST) );
515519` ` `
516520
517- ### resize ([imgproxy docs ](https :// github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#resize ))
521+ ### returnAttachment ([imgproxy docs ](https :// github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#return-attachment ))
518522
519- Resizes the image .
523+ Returns attachment in the Content - Disposition header .
520524
521525#### Example
522526
523527` ` ` typescript
524- pb().resize({
525- type: ResizeType.AUTO, // optional
526- width: 100, // optional
527- height: 50 // optional
528- });
528+ pb().returnAttachment();
529529` ` `
530530
531531### rotate ([imgproxy docs ](https :// github.com/imgproxy/imgproxy/blob/6f292443eafb2e39f9252175b61faa6b38105a7c/docs/generating_the_url.md#rotate))
0 commit comments