title: TypeError: must be pygame.Surface, not None
body: <p>i'm working with camera, with pygame, i wrote this code:</p>
  
  <pre><code>import pygame.camera
  import pygame.image
  pygame.camera.init()
  list_webCam = pygame.camera.list_cameras()
  
  webcam = pygame.camera.Camera(list_webCam[0],(640,480))
  webcam.start()
  img = webcam.get_image()
  pygame.image.save(img, "photo.jpg")
  pygame.camera.quit()
  </code></pre>
  
  <p>but it returns me this error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Users\Fulvio\Desktop\pygame.Camera.py", line 11, in &lt;module&gt;
      pygame.image.save(img, "photo.jpg")
  TypeError: must be pygame.Surface, not None
  </code></pre>