yujikawa / sample_image_maker

Sample image maker

Home Page:https://qiita.com/yujikawa/items/1164e02a0e7bdac64e44

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample image maker

It is a Web tool to create sample images.

Install

$ git clone https://github.com/yujikawa/sample_image_maker.git
$ cd sample_image_maker
$ pip install -r requirements.txt

Usage

## Example
$ cd sample_image_maker
$ mkdir static/images/dog
$ cp ~/picture/dog.jpg static/images/dog/dog.jpg
$ python app.py

API doc

URI method Example
http://localhost/images/categories GET
http://localhost/images/:category GET :category = dog
http://localhost/images/:category/:size GET :category = dog
:size=200x200

About

Sample image maker

https://qiita.com/yujikawa/items/1164e02a0e7bdac64e44

License:Apache License 2.0


Languages

Language:Python 100.0%