Answers for "python convert to grayscale 255"

2

convert grayscale to rgb python

backtorgb = cv2.cvtColor(gray,cv2.COLOR_GRAY2RGB)
Posted by: Guest on November-01-2020
0

rgb to grayscale python

from PIL import Image
img = Image.open('image.png').convert('LA')
img.save('greyscale.png')
Posted by: Guest on March-20-2021

Code answers related to "python convert to grayscale 255"

Python Answers by Framework

Browse Popular Code Answers by Language