Skip to content

Simple python API to add watermark on the image and upload to AWS-S3 (Simple Storage Service).

License

Notifications You must be signed in to change notification settings

amiretemad/adding-watermark-on-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API for Adding watermark on image

Simple python API end-point to add watermark on the image and upload to AWS-S3 (Simple Storage Service).

How To run project ?

After cloning project to your local machine (make sure you have installed Python 3 on your machine),please run this commands in the root directory of project to set Amazon Credentials.

Configure Amazon Credentials

 $ pip install awscli 
 $ aws configure 

Run Project

python app.py

Request Example

curl --location --request POST 'http://127.0.0.1:5000/upload-image' \
--form 'file=@/directory/Downloads/hello.jpg' \
--form 'text=Watermark text'