You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, torchvision.io.image module provides read_png/jpeg and decode_png/jpeg separate functions to read and decode images from files. They are not and will not be exposed publicly and the idea is to provide two generic methods like read and decode in order to handle both formats (png and jpeg): call internally read_png or read_jpeg
Maybe, we can inspire of how does the libraries like PIL to dispatch according to the input image format.