I want to convert an image "from YCRCB" to "RGB" using PIL library
Asked
Active
Viewed 66 times
1 Answers
0
Here is a tweak
if img.mode != 'RGB':
img = img.convert('RGB')
The image you are trying to convert should be opened using PIL library

Alaa Hesham
- 21
- 1
- 2