View Single Post
  #1  
Old 07-02-2014, 06:27 AM
agrima agrima is offline
Member
 
Join Date: Jun 2014
Posts: 4
Question Displaying Images

Hi,

I am trying to create a 3d image from a depth map. But when i try to display the .jpg file the windows photo viewer gives an error saying:

"WINDOWS PHOTO VIEWER CAN'T OPEN THIS PICTURE BECAUSE EITHER THE PHOTO IS DELETED OR IS IN A LOCATION WHICH ISN'T AVAILABLE".

but neither have i deleted my photo and it is in t same location where my vizard file is stored.

here is the code:

from PIL import Image
im=Image.open("IMG_1930.jpg")
im.show()
Reply With Quote