hmeine / qimage2ndarray

qimage2ndarray is a small python extension for quickly converting between QImages and numpy.ndarrays (in both directions).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imread

hmeine opened this issue · comments

I often use qimage2ndarray for a simple imread() implementation, similar to

  • scipy.ndimage.imread (which uses PIL)
  • scipy.misc.imread
  • matplotlib.pyplot.imread (using PIL for non-PNGs)

It would be convenient to have this utility function in qimage2ndarray, too.

Implemented in 41f95a4