\'int\' object is not subscriptable. where is the mistake?( python) im=array(Image.open(\'abc.jpg\').convert("L"))
n=im.size[0]*im.size[1]