Fri, Mar 17, 2017 11:58:54 AM hist:12108  jobs:0
Admin@ARMBP:/home/Admin/DMU/vpy_image_box> cat test.py
#!/usr/bin/python
# -*- coding: utf-8 -*-

# --------------------------------------------------
# File Name: iso_test.py
# Purpose:
# Creation Date: 22-03-2017
# Last Modified: Wed, Mar 22, 2017  7:52:49 PM
# Author(s): Mike Stout 
# Copyright 2017 The Author(s) All Rights Reserved
# Credits: 
# --------------------------------------------------

from visual import *
from PIL import Image 
im = Image.open("a.png")
w,h = 1028,1028
im = im.resize((w,h), Image.ANTIALIAS)

tex = materials.texture(data=im) # , mapping="sign")

box(size=(.01,1,1), axis=(0,0,1), material=tex)