We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f268c7b commit 83ed1bcCopy full SHA for 83ed1bc
README.md
@@ -359,11 +359,11 @@ Both functions will be used in the order in which they were added.
359
Gamma color correction
360
--------
361
362
-You can disable the gamma color correction enabled by default.
+You can enable the gamma color correction which is disabled by default.
363
364
```php
365
$image = new ImageResize('image.png');
366
-$image->gamma(false);
+$image->gamma(true);
367
```
368
369
API Doc
lib/ImageResize.php
@@ -24,7 +24,7 @@ class ImageResize
24
public $quality_webp = 85;
25
public $quality_png = 6;
26
public $quality_truecolor = true;
27
- public $gamma_correct = true;
+ public $gamma_correct = false;
28
29
public $interlace = 1;
30
0 commit comments