Skip to content

Commit 4526241

Browse files
committed
add documentation for the new method gamma in the README
1 parent c782049 commit 4526241

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,15 @@ $flip->imageFlip($image, 0);
354354

355355
Both functions will be used in the order in which they were added.
356356

357+
Gamma color correction
358+
--------
359+
360+
You can disable the gamma color correction enabled by default.
361+
362+
```php
363+
$image = new ImageResize('image.png');
364+
$image->gamma(false);
365+
```
357366

358367
API Doc
359368
-------

0 commit comments

Comments
 (0)