Method Image.Image()->invert()
- Method invert
invert()object- Description
-
Invert an image. Each pixel value gets to be 255-x, where x is the old value.



original ->invert(); ->rgb_to_hsv()->invert()->hsv_to_rgb(); - Returns
-
the new image object
invert()object
Invert an image. Each pixel value gets to be 255-x, where x is the old value.
![]() |
![]() |
![]() |
| original | ->invert(); | ->rgb_to_hsv()->invert()->hsv_to_rgb(); |
the new image object