Mahotas does not have any builtin support for input/output. However, it wraps a
few other libraries that do:
It prefers imread, if it is
available. Imread is a native C++ library which reads images into Numpy
arrays. It supports PNG, JPEG, TIFF, and a few microscopy formats (LSM and
STK).
It also looks for freeimage.
Freeimage can read and write many formats. Unfortunately, it is harder to
install and it is not as well-maintained as imread.