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.
359359Gamma color correction
360360--------
361361
362- You can disable the gamma color correction enabled by default.
362+ You can enable the gamma color correction which is disabled by default.
363363
364364``` php
365365$image = new ImageResize('image.png');
366- $image->gamma(false );
366+ $image->gamma(true );
367367```
368368
369369API Doc
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class ImageResize
2424 public $ quality_webp = 85 ;
2525 public $ quality_png = 6 ;
2626 public $ quality_truecolor = true ;
27- public $ gamma_correct = true ;
27+ public $ gamma_correct = false ;
2828
2929 public $ interlace = 1 ;
3030
You can’t perform that action at this time.
0 commit comments