I have created the lambda function by using inline code editor for video convert process using zencoder its worked fine.
Now i have to Resize the images in 3 different sizes and from one bucket to another bucket.
For this scenario i need to import some python modules. But it says error like no module found image .
This was my lambda code.
import boto3
import cStringIO
import urllib
import os
import image
fp=urllib.urlopen('iamgeurl')
img = cStringIO.StringIO(fp.read())
im = Image.open(img)
im2 = im.resize((500, 100), Image.NEAREST)
out_im2 = cStringIO.StringIO()
im2.save(out_im2, 'PNG')
conn = boto.connect_s3()
b = conn.get_bucket('Bucketname')
k = b.new_key('example.png')
k.set_contents_from_string(out_im2.getvalue())