DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
rgb to grayscale python
from
PIL
import
Image img
=
Image
.
open
(
'image.png'
)
.
convert
(
'LA'
)
img
.
save
(
'greyscale.png'
)
Source by techtutorialsx.com #
PREVIOUS
NEXT
Tagged:
#rgb
#grayscale
#python
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit