I'm trying to convert an image to grayscale without losing any of it's transparency.
This is my code:
img = cv2.imread(some_path, 0)
Original image:
After running the code:
1 | initial version |
I'm trying to convert an image to grayscale without losing any of it's transparency.
This is my code:
img = cv2.imread(some_path, 0)
Original image:
After running the code: