Skip to content

Instantly share code, notes, and snippets.

@alejandroave
Created May 28, 2013 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alejandroave/5666543 to your computer and use it in GitHub Desktop.
Save alejandroave/5666543 to your computer and use it in GitHub Desktop.
###################tam de la imagen###################
def cargar(imagen):
im = Image.open(imagen)
ancho, altura = im.size
pixels = im.load()
return ancho,altura,pixels,im
##################cargar imagen#################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment