Open
Description
🚀 The feature
Right now torchvision.io.encode_png() can only encode RGB and GRAYSCALE images. It would be very useful to add alpha channel support for PNG images.
Motivation, pitch
It is useful for segmentation masks to be displayed, for example, in a web browser.
Alternatives
Opencv
Additional context
No response
Activity