Skip to content

moacirmoda/fake-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fake Image

Flask project that receive size as url parameters and returns a PNG image with those sizes.

How to use

Access your domain with size as parameter. Example:

https://yourdomain.com/500x500

It will return an PNG image with those size.

Run project

  • Create and activate an virtualenv with python3
  • Install dependencies
pip install requirements.txt
  • Run tests
python tests.py
  • Execute flask server
export FLASK_APP=app.py
flask run

About

Flask project that receive size as url parameters and returns a PNG image with those sizes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages