Skip to content

dirkcuys/s3imageresize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resize images hosted on Amazon S3 using Pillow

Installation

pip install s3imageresize

Usage

Make sure your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are exported as environmental variables

In code:

from s3imageresize import resize_image_folder
resize_image_folder(bucket_name, prefix, (width, height))

From the command line:

s3resizeimagefolder.py bucketname prefix width height

About

Utility to resize images stored on Amazon S3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages