Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

color reverse

from PIL import Image
import PIL.ImageOps    

image = Image.open('your_image.png')

inverted_image = PIL.ImageOps.invert(image)

inverted_image.save('new_name.png')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #color #reverse
ADD COMMENT
Topic
Name
1+1 =