File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -359,11 +359,11 @@ Both functions will be used in the order in which they were added.
359
359
Gamma color correction
360
360
--------
361
361
362
- You can disable the gamma color correction enabled by default.
362
+ You can enable the gamma color correction which is disabled by default.
363
363
364
364
``` php
365
365
$image = new ImageResize('image.png');
366
- $image->gamma(false );
366
+ $image->gamma(true );
367
367
```
368
368
369
369
API Doc
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class ImageResize
24
24
public $ quality_webp = 85 ;
25
25
public $ quality_png = 6 ;
26
26
public $ quality_truecolor = true ;
27
- public $ gamma_correct = true ;
27
+ public $ gamma_correct = false ;
28
28
29
29
public $ interlace = 1 ;
30
30
You can’t perform that action at this time.
0 commit comments