App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Classes | Functions
google.appengine._internal.django.core.files.images Namespace Reference

Classes

class  ImageFile
 

Functions

def get_image_dimensions
 

Detailed Description

Utility functions for handling images.

Requires PIL, as you might imagine.

Function Documentation

def google.appengine._internal.django.core.files.images.get_image_dimensions (   file_or_path,
  close = False 
)
Returns the (width, height) of an image, given an open file or a path.  Set
'close' to True to close the file at the end if it is initially in an open
state.