Skip to content

gangmax/watermark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Make sure you have "pipenv installed. Then run the following commands to create/run this project. This project is an example how to use Python to add watermark to a image file.

# Enter directory.
cd watermark
# Set the Python version for the current project.
pipenv --python 3.6
# Install dependencies.
pipenv install Pillow
# Write the script content.
vi watermark.py
# Run the script.
pipenv run python watermark.py
# Lock the dependencies versions. 
pipenv lock
# Enter virtualenv shell. 
pipenv shell
# Print dependencies info.
pip freeze
# List all the pip packages of the current virtualenv.
pip list
# Run the script.
python watermark.py
# Exit current virtualenv environment.
exit

From here and here.

About

Python code example to demonstrate how to add watermark into a image file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages