TutorialDoctor
Nov 21, 2014 - 21:38
I am trying to load an image from the camera roll as the background of a button.
from PIL import Image
import ui
import photos
window = ui.load_view()
window.present('sheet')
window['button'].background_image = Image.from_data(photos.get_image(-1,True,True))
What am I doing wrong? It says that from_data is not a method