How to convert a png file to nrrd file?

Hello, I have a doubt regarding about the conversion of png file to nrrd file. Because I have to plot intensity based histogram for the 2d image. Is it possible to convert the image using 3d slicer ?.