def _get_dtype_and_shape(self):
npy_dtype = self._get_image_numpy_dtype()<EOL>if self._info['<STR_LIT>'] != <NUM_LIT:0>:<EOL><INDENT>shape = self._info['<STR_LIT>']<EOL><DEDENT>else:<EOL><INDENT>raise IOError("<STR_LIT>")<EOL><DEDENT>return npy_dtype, shape<EOL>
Get the numpy dtype and shape for image