-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.ImageColorContrast
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Modify image color: contrast NOTE: Contrast values between -100 and 100
| Parameter | Default Value | Note |
|---|---|---|
| image | ||
| contrast |
None.
img = raylib.LoadImage("photo.png")
// Boost contrast by 30
raylib.ImageColorContrast img, 30
raylib.ExportImage img, "photo_contrast.png"
raylib.UnloadImage img