def imread(filename, *args, **kwargs):
    try:
        netpbm = NetpbmFile(filename)
        image = netpbm.asarray()
    finally:
        netpbm.close()
    return image
Return image data from Netpbm file as numpy array.
dataset/ETHPy150Open SheffieldML/GPy/GPy/util/netpbmfile.py/imread