### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Miscellaneous routines (`scipy.misc`) »

# scipy.misc.imread

`scipy.misc.``imread`(name, flatten=0)

  Read an image file from a filename.

  Parameters : | name : str The file name to be read. flatten : bool, optional If True, flattens the color layers into a single gray-scale layer.
  Returns : | : nd_array : The array obtained by reading image.

  Notes

  The image is flattened by calling convert(‘F’) on the resulting image object.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.9 Reference Guide (DRAFT) »
- Miscellaneous routines (`scipy.misc`) »