Answers for "make rgb image to grayscale python"

2

convert grayscale to rgb python

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

python image to grayscale

from PIL import Image
img = Image.open("image.jpg")
img.convert("L").save("result.jpg")
Posted by: Guest on March-18-2021

Code answers related to "make rgb image to grayscale python"

Python Answers by Framework

Browse Popular Code Answers by Language